A mature testing framework for Go designed to help you write expressive specs
Overall
score
97%
{
"context": "This evaluation criteria assesses how well the engineer uses Ginkgo v2's test suite execution capabilities, specifically the RunSpecs function and its configuration options. The focus is on proper suite initialization, configuration management, and integration with Go's testing infrastructure.",
"type": "weighted_checklist",
"checklist": [
{
"name": "RunSpecs Usage",
"description": "Uses ginkgo.RunSpecs() function to initialize and execute the test suite within a TestXxx function that accepts *testing.T parameter",
"max_score": 25
},
{
"name": "SuiteConfig Creation",
"description": "Creates and configures a SuiteConfig struct with appropriate settings including RandomSeed set to 1234, ParallelTotal set to 2 for parallel execution, and other suite-level configuration options",
"max_score": 25
},
{
"name": "ReporterConfig Setup",
"description": "Creates and configures a ReporterConfig struct with Verbose enabled and other reporter settings to control test output formatting and verbosity",
"max_score": 20
},
{
"name": "Suite Organization",
"description": "Uses Describe or Context functions to organize test specifications into logical groups by functionality, demonstrating proper hierarchical test organization",
"max_score": 15
},
{
"name": "Test Specification",
"description": "Uses It or Specify functions to define individual test cases with descriptive names that clearly indicate what is being tested",
"max_score": 10
},
{
"name": "File Organization",
"description": "Separates suite initialization (with RunSpecs call) into a suite_test.go file distinct from the test specifications in calculator_test.go, following Ginkgo conventions",
"max_score": 5
}
]
}Install with Tessl CLI
npx tessl i tessl/golang-github-com-onsi-ginkgo-v2docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10