lf-lang / lingo

Package manager and build tool for the Lingua Franca coordination language
BSD 2-Clause "Simplified" License
4 stars 1 forks source link

Tests #9

Open tanneberger opened 1 year ago

tanneberger commented 1 year ago

This is a continues issue about testing while the code base is relatively small.

Integration Tests

Unit Tests

tanneberger commented 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

oowekyala commented 11 months ago

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.

oowekyala commented 11 months ago

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.