diesel-rs/diesel

Add integration tests for examples

Open

#777 geöffnet am 4. März 2017

Auf GitHub ansehen
 (9 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Rust (1.003 Forks)batch import
good first issuehelp wantedtests

Repository-Metriken

Stars
 (12.054 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 30T 16h) (30 gemergte PRs in 30 T)

Beschreibung

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