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

If a test has markTestSkipped() method in setUp() method, it's not appearing in allure report #104

Open
Atul-glo35265 opened this issue May 15, 2024 · 3 comments

Comments

@Atul-glo35265
Copy link

Describe the bug
If a test has markTestSkipped() method into the setUp() method, it does not appear in the Allure report.

To Reproduce

  1. Steps to reproduce the behavior:
  2. Just add the markTestSkipped() method into setUp method of any testCase.
  3. Run the PHPUnit
  4. Skipped test count will be there in phpUnit result.
  5. Skipped test info will be missing from Allure report.

Expected behavior
Skipped test info should be there in Allure report, as per PhpUnit result. Allure report must have the same count as per PhpUnit report.

Screenshots

Normal Test : Working Fine

image image image

Test with markTestSkipped() in setUp() : Not working fine

image image image
@nishant04412
Copy link

Hi Team,

This issue appears to be genuine. Is there any update on this ?

@nishant04412
Copy link

@baev Can you please check and help with this ? It has been pending for long time and I think this is worth looking into.

@Atul-glo35265
Copy link
Author

Atul-glo35265 commented Oct 17, 2024

@eroshenkoam, @baev If there’s any additional information we need to provide to facilitate this process, please let us know. Your assistance is greatly appreciated here. Please check and help with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants