diesel-rs/diesel

Add integration tests for examples

Open

#777 aperta il 4 mar 2017

Vedi su GitHub
 (9 commenti) (2 reazioni) (0 assegnatari)Rust (1003 fork)batch import
good first issuehelp wantedtests

Metriche repository

Star
 (12.054 star)
Metriche merge PR
 (Merge medio 30g 16h) (30 PR mergiate in 30 g)

Descrizione

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.)

Guida contributor