Crate hotshot_macros
source ยทExpand description
Macros for use in testing.
Modulesยง
- keywords ๐macro specific custom keywords
Macrosยง
- Generate a cartesian product of tests across all types Arguments:
- Macro to run the test suite with
TaskStatescripts at once with the ability to. Randomize the input values using a consistent seed value. - Macro to test multiple
TaskStatescripts at once.
Structsยง
- Cross
Test ๐Data description of a crosstest - Cross
Test ๐Data Builder Builder forCrossTestData. - Test
Data ๐requisite data to generate a single test - Test
Data ๐Builder Builder forTestData. - Bracketed types, e.g. [A, B, C
] These types can have generic parameters, whereas ExprArray items must be Expr. - Builder for
TypePathBracketedArray.
Enumsยง
- Error type for CrossTestDataBuilder
- Test
Data ๐Builder Error Error type for TestDataBuilder - Error type for TypePathBracketedArrayBuilder
Traitsยง
- ToLower
Snake ๐Str trait make a string lower and snake case
Functionsยง
- cross_
tests_ ๐internal Helper function to do the actual code gen allow panic because this is a compiler error