This declares the minimum supported Rust version, independently of the `rust-toolchain.toml` file, which specifies the Rust version and toolchain components the crate/workspace should be built with. The MSRV affects other crates that depend on anything in this workspace, but the toolchain file does not seem to affect them. This means the MSRV is useful for those who build or develop dependents. Signed-off-by: Lars Wirzenius <liw@liw.fi> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
README.md
radicle-cli-test
Test your CLI with the help of markdown descriptions.
Example
Test flows are described in markdown like this example:
# Echoing works
When I call echo, it answers:
```
$ echo "ohai"
ohai
```
Say this is placed in kind-echo.md, this is what the corresponding test case
would look lke:
use std::path::Path;
use radicle_cli_test::TestFormula;
#[test]
fn kind_echo() {
TestFormula::new()
.file(Path::new("./kind-echo.md"))
.unwrap()
.run()
.unwrap();
}