Skip to content

[AllureDisplayIgnored] Ignored tests are considered as new tests each time they are run #345

@KamilMarek-IV

Description

@KamilMarek-IV

I'm submitting a ...

  • bug report

What is the current behavior?

Whenever I run test suite, Ignored test is added to report as new test so overall test count increasing every run by ignored count

allure

in detailed report,

image

Same outcome when declared the same suite for ignored tests [AllureDisplayIgnored("suite name")]

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

test class marked with following attributes:

[AllureNUnit]
[AllureDisplayIgnored]
[AllureSuite("suite name")]
[Parallelizable(ParallelScope.Self)]

test method marked with following attributes:
[Ignore("Ignore reason")]
[Test, Timeout(180000)]
[Description("some desc")]
public async Task TestName()

Then run test suite multiple time and check reports

What is the expected behavior?

Whenever I run test suite, Ignored test is presented once in report, run is just added to history

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Other information

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions