diesel-rs/diesel

Add integration tests for examples

Open

#777 opened on Mar 4, 2017

View on GitHub
 (9 comments) (2 reactions) (0 assignees)Rust (12,054 stars) (1,003 forks)batch import
good first issuehelp wantedtests

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

Contributor guide