mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-16 08:10:40 +08:00
In topological order: - radicle-git-metadata 0.2.0 → 0.2.1 - radicle-git-ref-format 0.1.0 → 0.2.0 - radicle-oid 0.2.1 → 0.2.2 - radicle-crypto 0.18.0 → 0.19.0 - radicle-surf 0.28.0 → 0.29.0 - radicle-cob 0.21.0 → 0.21.1 - radicle-core 0.4.0 → 0.4.1 - radicle 0.25.0 → 0.25.1 - radicle-signals 0.12.0 → 0.12.1 - radicle-fetch 0.21.0 → 0.21.1 - radicle-term 0.19.0 → 0.19.1 - radicle-protocol 0.9.0 → 0.9.1 - radicle-cli-test 0.14.0 → 0.14.1 - radicle-node 0.21.0 → 0.21.1 - radicle-cli 0.22.0 → 0.23.0 - radicle-schemars 0.9.0 → 0.9.1 - radicle-remote-helper 0.18.0 → 0.18.1
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 like:
use std::path::Path;
use radicle_cli_test::TestFormula;
#[test]
fn kind_echo() {
TestFormula::new()
.file(Path::new("./kind-echo.md"))
.unwrap()
.run()
.unwrap();
}