Welcome Guest! To enable all features please Login or Register.



Ignored tests not appearing in RawResults.xml written by console runner
#1 Posted : Wednesday, November 18, 2020 1:42:29 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/17/2015(UTC)
Posts: 3
Location: New Zealand

If I mark a fixture as ignored in Visual Studio, and then run the tests in the NCrunch console runner, I see the following in the RawResults,xml file:

<fixture name="<redacted>">

However, when I ignore a single test within a fixture that is not ignored in its entirety, I can't find any record of that test existing in RawResults.xml. I would have thought that it would appear, but with a similar <isIgnored> element.

How can I get a list of ignored tests from the console runner output?

Update with further info:
* The TestResultsInNUnitFormat.xml file claims that the test ran.
* The AllResults.html file claims that the test was ignored, but then lists the test output, perhaps from the previous run?
#2 Posted : Wednesday, November 18, 2020 8:01:35 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,510

Thanks: 852 times
Was thanked: 1155 time(s) in 1079 post(s)
Hi, thanks for posting.

I've taken a look at the code involved here, and I can't see a way to do this with what we're exporting at the moment.

It's supposed to be in RawResults.xml, but it looks to have been omitted unintentionally. I've logged a defect to get this fixed in the next build.
#3 Posted : Wednesday, May 26, 2021 3:08:31 AM(UTC)
Rank: Member

Groups: Registered
Joined: 12/4/2013(UTC)
Posts: 26
Location: New Zealand

Thanks: 2 times
Was thanked: 3 time(s) in 3 post(s)
I can confirm that this is fixed, thanks!
1 user thanked bartj for this useful post.
Remco on 5/26/2021(UTC)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.034 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download