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
TaskState
scripts at once with the ability to. Randomize the input values using a consistent seed value. - Macro to test multiple
TaskState
scripts at once.
Structs§
- description of a crosstest
- Builder for
CrossTestData
. - Test
Data 🔒requisite data to generate a single test - Builder for
TestData
. - 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
- Error type for TestDataBuilder
- Error type for TypePathBracketedArrayBuilder
Traits§
- trait make a string lower and snake case
Functions§
- Helper function to do the actual code gen allow panic because this is a compiler error