Files
dance-lessons-coach/features/auth/auth_test.go
Gabriel Radureau a75f87777b 🧪 test: add BDD exclusion tags and mark JWT scenarios as todo
- Add @flaky, @todo, @skip tags to BDD_TAGS.md
- Modify all feature test suites to exclude these tags
- Update test scripts to exclude tagged scenarios
- Mark all JWT scenarios with pending steps as @todo

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-04-10 09:09:34 +02:00

35 lines
772 B
Go

package auth
import (
"os"
"testing"
"dance-lessons-coach/pkg/bdd"
"github.com/cucumber/godog"
)
func TestAuthBDD(t *testing.T) {
// Set FEATURE environment variable for feature-specific configuration
os.Setenv("FEATURE", "auth")
suite := godog.TestSuite{
Name: "dance-lessons-coach BDD Tests - Auth Feature",
TestSuiteInitializer: bdd.InitializeTestSuite,
ScenarioInitializer: bdd.InitializeScenario,
Options: &godog.Options{
Format: "progress",
Paths: []string{"."},
TestingT: t,
Strict: true,
Randomize: -1,
StopOnFailure: true,
Tags: "~@flaky && ~@todo && ~@skip",
},
}
if suite.Run() != 0 {
t.Fatal("non-zero status returned, failed to run auth BDD tests")
}
}