Expand description
The expansion from a test function to the appropriate test struct for libtest Ideally, this code would be in libtest but for efficiency and error messages it lives here.
Enumsยง
- ShouldPanic ๐
- TestType ๐
Functionsยง
- check_bench_ ๐signature 
- check_test_ ๐signature 
- expand_bench ๐
- expand_test ๐
- expand_test_ ๐case 
- #test_case is used by custom test authors to mark tests When building for test, it needs to make the item public and gensym the name Otherwise, weโll omit the item. This behavior means that any item annotated with #test_case is never addressable.
- expand_test_ ๐or_ bench 
- get_location_ ๐info 
- item_path ๐
- not_testable_ ๐error 
- should_ignore ๐
- should_ignore_ ๐message 
- should_panic ๐
- test_type ๐
- Attempts to determine the type of test.
Since doctests are created without macro expanding, only possible variants here
are UnitTest,IntegrationTestorUnknown.