allure-framework / allure-phpunit

Allure integrations for PHP test frameworks: PHPUnit
https://allurereport.org/
Apache License 2.0
60 stars 26 forks source link

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

Open Atul-glo35265 opened 3 months ago

Atul-glo35265 commented 3 months ago

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 commented 2 months ago

Hi Team,

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