-
Notifications
You must be signed in to change notification settings - Fork 43
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
Reusable set of tests #80
Comments
Closed
la10736
added a commit
that referenced
this issue
Jun 20, 2020
TODO:
|
la10736
added a commit
that referenced
this issue
Jun 21, 2020
inother crates. Add test for intra-module visibility
la10736
added a commit
that referenced
this issue
Jun 21, 2020
la10736
added a commit
that referenced
this issue
Jun 21, 2020
la10736
added a commit
that referenced
this issue
Jun 21, 2020
Done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can be useful create a way to make a set of tests reusable. In #66 we observed that this can be done by create a macro that can decorate test functions by the
rstest
attribute that define all needed cases and values.Write these macro is tricky and cannot be assumed as general pattern. From rust 1.40 by rust-lang/rust#64035 (comment) we can write a functional macro to generate macros. We can start to write it in rstest crate and then move it in a separate crate.
The text was updated successfully, but these errors were encountered: