Open tanneberger opened 1 year ago
Found this quite inspiring for testing the user interface: https://github.com/clap-rs/clap/blob/master/tests/derive/options.rs#L290
Also see this: https://rust-cli.github.io/book/tutorial/testing.html
They recommend using assert_cmd
and assert_fs
crates to manipulate test files.
Also see this: https://rust-cli.github.io/book/tutorial/testing.html
They recommend using assert_cmd
and assert_fs
crates to manipulate test files.
This is a continues issue about testing while the code base is relatively small.
Integration Tests
Unit Tests