| Crates.io | radicle-cli-test |
| lib.rs | radicle-cli-test |
| version | 0.11.0 |
| created_at | 2023-02-16 07:24:18.765312+00 |
| updated_at | 2025-06-03 13:47:12.3892+00 |
| description | Radicle CLI test library |
| homepage | https://radicle.xyz |
| repository | |
| max_upload_size | |
| id | 786561 |
| size | 80,200 |
Test your CLI with the help of markdown descriptions.
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();
}