- 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>
35 lines
765 B
Go
35 lines
765 B
Go
package jwt
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"dance-lessons-coach/pkg/bdd"
|
|
|
|
"github.com/cucumber/godog"
|
|
)
|
|
|
|
func TestJWTBDD(t *testing.T) {
|
|
// Set FEATURE environment variable for feature-specific configuration
|
|
os.Setenv("FEATURE", "jwt")
|
|
|
|
suite := godog.TestSuite{
|
|
Name: "dance-lessons-coach BDD Tests - JWT Feature",
|
|
TestSuiteInitializer: bdd.InitializeTestSuite,
|
|
ScenarioInitializer: bdd.InitializeScenario,
|
|
Options: &godog.Options{
|
|
Format: "pretty",
|
|
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 jwt BDD tests")
|
|
}
|
|
}
|