Skip to content
New issue

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

Report test execution page shows unrelated @BeforeClass/@AfterClass methods #99

Closed
1 task done
baev opened this issue Jul 9, 2017 · 0 comments
Closed
1 task done
Assignees
Labels
type:bug Something isn't working

Comments

@baev
Copy link
Member

baev commented Jul 9, 2017

I'm submitting a ...

  • bug report

What is the current behavior?

@BeforeClass/@AfterClass/ methods show up for all tests, even for the ones they are not related to.

Prerequisites:

Two test classes: one of them has @BeforeClass/@AfterClass/ methods and the other one doesn't.

Steps:

  1. mvn clean test
  2. allure serve target/allure-results

What is the expected behavior?

@BeforeClass/@AfterClass/ methods should show up in Report only for the tests they belong to.

Environment:

Allure version any
Test framework testng@6.11
Allure adaptor allure-testng@2.0-BETA14
Generate report using any

Other information

https://github.com/chibux/allure2-testng
2017-07-08 04_36_14-allure report

moved from allure-framework/allure2#463

@baev baev added type:bug Something isn't working work:in progress Some work in progress at the moment labels Jul 9, 2017
@baev baev self-assigned this Jul 9, 2017
@baev baev added work:review Work is done, waiting for review and removed work:in progress Some work in progress at the moment labels Jul 9, 2017
@baev baev closed this as completed in 95a629f Jul 9, 2017
@baev baev removed the work:review Work is done, waiting for review label Jul 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant