We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Set up/Tear down sections are not displayed in tests without suite
To Reproduce Steps to reproduce the behavior: 1-2. Write simple test with t.WithTestSetup()/t.WithTestTeardown()
func TestSetupTeardown1(t *testing.T) { runner.Run(t, "My 1 test", func(t provider.T) { t.WithTestSetup(func(t provider.T) { t.WithNewStep("My 1 Step!", func(sCtx provider.StepCtx) { time.Sleep(1 * time.Second) }) }) t.WithNewStep("My 2 Step!", func(sCtx provider.StepCtx) { time.Sleep(1 * time.Second) }) t.WithTestTeardown(func(t provider.T) { t.WithNewStep("My 3 Step!", func(sCtx provider.StepCtx) { time.Sleep(1 * time.Second) }) }) }) }
Expected behavior t.WithTestSetup()/t.WithTestTeardown() sections are displayed in allure-report as in the tests with suites
Screenshots
The text was updated successfully, but these errors were encountered:
dkx86
Successfully merging a pull request may close this issue.
Describe the bug
Set up/Tear down sections are not displayed in tests without suite
To Reproduce
Steps to reproduce the behavior:
1-2. Write simple test with t.WithTestSetup()/t.WithTestTeardown()
Expected behavior
t.WithTestSetup()/t.WithTestTeardown() sections are displayed in allure-report as in the tests with suites
Screenshots
The text was updated successfully, but these errors were encountered: