diesel-rs/diesel

Add integration tests for examples

Open

#777 aberto em 4 de mar. de 2017

Ver no GitHub
 (9 comments) (2 reactions) (0 assignees)Rust (1.003 forks)batch import
good first issuehelp wantedtests

Métricas do repositório

Stars
 (12.054 stars)
Métricas de merge de PR
 (Mesclagem média 30d 16h) (30 fundiu PRs em 30d)

Description

We currently have the app from the Getting Started guide implemented for all backends, but there are no tests to ensure they all behave the same.

The app implements several simple binaries to create/display/publish/delete posts. Writings some tests that interact with all the binaries and assert their output is good would be great (it doesn't even have to cover all failure cases).

I wrote the assert_cli crate for a similar use-case. There might be better crates for that now, though. Or actually, it might be possible to do that in a shell script. (Don't know how well that works on Windows, though.)

Guia do colaborador