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

Notification

Icon
Error

Ignored tests not appearing in RawResults.xml written by console runner
ecargo
#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:

Code:
<fixture name="<redacted>">
  <wasRun>False</wasRun>
  <isIgnored>True</isIgnored>
</fixture>

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?
Remco
#2 Posted : Wednesday, November 18, 2020 8:01:35 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 807 times
Was thanked: 1065 time(s) in 1012 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.
Users browsing this topic
Guest
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.192 seconds.