The next-gen flux-based test runner for Jest that provides test framework globals and event-driven test execution
82
{
"context": "This criteria evaluates how well the engineer uses Jest's test.each template literal syntax to implement data-driven tests for the email validator. The focus is on proper usage of the template literal table format with column headers and data rows.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses test.each",
"description": "Uses test.each() or it.each() to implement the parameterized tests instead of writing individual test cases",
"max_score": 25
},
{
"name": "Template literal syntax",
"description": "Uses the template literal (backtick) syntax for test.each rather than the array syntax",
"max_score": 25
},
{
"name": "Table structure",
"description": "Defines a proper table structure with column headers (email, expected, reason) in the first row and data values in subsequent rows, separated by pipe characters",
"max_score": 20
},
{
"name": "Interpolated values",
"description": "Uses ${} syntax to interpolate actual data values in the table rows (not just variable names)",
"max_score": 15
},
{
"name": "Parameterized test name",
"description": "Uses template variable references (e.g., $email, $expected, $reason) in the test name string to generate descriptive test output",
"max_score": 10
},
{
"name": "Correct test function",
"description": "The test callback function correctly destructures or accesses the parameters from the table (e.g., ({email, expected, reason}) => ...)",
"max_score": 5
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-jest-circusevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10