Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add mapping for TestOutcome.None to the UnitTestOutcome enum to achieve NotExecuted behaviour in VSTS. #217

Closed
irguzhav opened this issue Jun 30, 2017 · 1 comment
Labels
Help-Wanted The issue is up-for-grabs, and can be claimed by commenting
Milestone

Comments

@irguzhav
Copy link
Member

Description

There is no way to create a custom TestMethodAttribute which will return the Not Executed state for the test. With what is available today one can only get Passed/Failed/Skipped. We want to closely monitor amount of Ignored tests as they “pollute” the codebase. So if we use the Skipped(Inconclusive) outcome we won’t be able to distinguish the Ignored tests from the tests which were not supposed to run based on the custom attribute.

@AbhitejJohn
Copy link
Contributor

More details from an offline conversation:
To achieve a Not Executed state however we would need to update the mapping here and here to get it to eventually return TestOutcome.None which would map to Not Executed in VSTS.

@AbhitejJohn AbhitejJohn added enhancement Help-Wanted The issue is up-for-grabs, and can be claimed by commenting labels Jul 1, 2017
@jayaranigarg jayaranigarg added this to the S120 milestone Jul 11, 2017
singhsarab pushed a commit to singhsarab/testfx that referenced this issue Apr 8, 2019
Migrate build system from project.json to csproj.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Help-Wanted The issue is up-for-grabs, and can be claimed by commenting
Projects
None yet
Development

No branches or pull requests

3 participants