diesel-rs/diesel

Add integration tests for examples

开放

#777 创建于 2017年3月4日

 (9 条评论) (2 个反应) (0 位负责人)Rust (1,003 个派生)batch import
good first issuehelp wantedtests

仓库指标

星标
 (12,054 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南