allure-framework / allure-framework/allure-phpunit

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

Open
#104 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
PHP
Stars
66
Forks
34
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.