- Add @wip tag documentation to BDD_TAGS.md - Modify all feature test suites to include @wip in tag filters - Update test scripts to handle @wip tag inclusion - @wip overrides exclusion tags (@todo, @skip, @flaky) for active development Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
35 lines
780 B
Go
35 lines
780 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 && @wip",
|
|
},
|
|
}
|
|
|
|
if suite.Run() != 0 {
|
|
t.Fatal("non-zero status returned, failed to run auth BDD tests")
|
|
}
|
|
}
|