A series of utility macros for outputting testing results.
save!(name: &str, value: &u8)
Save the value as test results.
example:
```rust
fn testhelloworld() { test_results::save!("output.txt", [0x31, 0x32, 0x33]); } ```
Run the test and the file will be saved in the test_results
folder in the same directory as the source files.
├─ test.rs
└─ test_results
└─ output.txt
Optionally, you can add test_results/
to the .gitignore
file.
echo 'test_results/' >> .gitignore