Skip to content

nunit2report counts ignored tests as "errors". #24

@RossPatterson

Description

@RossPatterson

The nunit2report task has a summary column called "Errors". According to the XSLT code, that's the count of tests that were not executed ("count(child::results/test-case[@executed='False'])"). This means that tests that were ignored (e.g., because they are tagged as [Ignore]) are incorrectly flagged.

NUnit does not document what the "executed='False'" attribute actually means, but I believe the only way it can be set is if the test is explicitly skipped.

Can you please change the column to "Ignored" or "Skipped"? That's what NUnit's GUI would represent these as.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions