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ยง
- Should
Panic ๐ - Test
Type ๐
Functionsยง
- check_
test_ ๐signature - expand_
bench ๐ - expand_
test ๐ - expand_
test_ ๐case - expand_
test_ ๐or_ bench - get_
location_ ๐info - item_
path ๐ - not_
testable_ ๐error - should_
ignore ๐ - should_
panic ๐ - test_
type ๐Attempts to determine the type of test. Since doctests are created without macro expanding, only possible variants here areUnitTest
,IntegrationTest
orUnknown
.