You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the beginning you asked me if you should use linker sections to implement automatic test case collection. I said no, because I was worried about schedule. But that was before I knew about the inventory crate, which makes it super-easy! I think we should use it. Still, it wasn't part of your proposal to include it, so I'll prepare a PR.
The text was updated successfully, but these errors were encountered:
Use the inventory crate to automatically produce the list of test
functions to run. Under the hood, it makes use of linker sections to
build the list of test cases.
With automatic test collection, there is no longer any need for multiple
tiers of test organization, apart from what the Rust module system
provides. So remove the group! and test_case! macros (the new
test_case! macro corresponds to the old "test function").
Finally, rename some functions to remove the redundant "test_" prefix.
Fixes#30
In the beginning you asked me if you should use linker sections to implement automatic test case collection. I said no, because I was worried about schedule. But that was before I knew about the inventory crate, which makes it super-easy! I think we should use it. Still, it wasn't part of your proposal to include it, so I'll prepare a PR.
The text was updated successfully, but these errors were encountered: