A mature testing framework for Go designed to help you write expressive specs
Overall
score
97%
Build a test suite for a user session management system that requires precise control over setup execution order.
You need to test a system that manages user sessions. The system has a configuration layer and a session layer. Tests need to:
The key requirement is that session initialization must happen after all configuration is set up, but before each individual test runs.
Create a test suite in session_test.go that:
The test suite should demonstrate that:
@generates
BDD testing framework for Go that provides test organization and lifecycle hooks.
Matcher library for assertions in Go tests.
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