Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests #9

Open
3 of 9 tasks
tanneberger opened this issue Apr 25, 2023 · 3 comments
Open
3 of 9 tasks

Tests #9

tanneberger opened this issue Apr 25, 2023 · 3 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@tanneberger
Copy link
Member

tanneberger commented Apr 25, 2023

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

Integration Tests

  • CI with Lingua-Franca
    • Forwarding of the target properties
  • Running Lingo on LFC Tests full integration style
    • Check a Lingo.toml into Lingua-Franca repo where all the test are defined.
    • Lingo run needs to take care of the result of the binary

Unit Tests

  • Backends
    • CMake
  • Source Gen
  • Pass Clap Arg Structs
@tanneberger tanneberger added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 25, 2023
@tanneberger
Copy link
Member Author

Found this quite inspiring for testing the user interface: https://github.com/clap-rs/clap/blob/master/tests/derive/options.rs#L290

@oowekyala
Copy link
Contributor

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.

1 similar comment
@oowekyala
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants