Where did 'failed' and 'ignored' go in the Test tab summary?

http://www.jetbrains.net/confluence/download/attachments/2883648/testsTab.png

Having upgraded to TeamCity 4.5 and then to 4.5.3, neither version had anything more than Total Test Count.  I can't seem to find any documentation that would suggest I need to do configuration, but I'm likely mistaken.  Can anyone give me a hint on this one?  Like in the picture from the link, I just want to have ignored tests included in the summary of the Test Tab.

Thanks,

Cody

5 comments
Comment actions Permalink

Hello,

  Could you please be more clear, what information do you miss? If you want to get a list of ignored tests, you can filter them by status. Or you're looking for something else?

  Regards,
  KIR

0
Comment actions Permalink

I overstated my problem.  The failed tally shows up.  In any give build, I know I have numerous ignored tests and those tests are not being tallied in the build summary Tests tab.  The picture from the link in my first post shows a total test count and tallies both the ignored and failed tests.  Since moving to 4.5, I've lost the ignored test count.  If the ignored test count is working for everyone else, then it is clearly an issue with my setup.  The filter does nothing for me as there seems to be no record of my ignored tests.

I think what I should ask for is maybe some XML I can drop in to force a count.  I see I can add IgnoredTestCount to my graphs from the custom chart documentation, but I did not see anything similar for customizing the Test tab.

Thanks for you time,

Cody

0
Comment actions Permalink

Hello Cody,

   Ignored test count works for our internal builds. So if you don't see the ignored test count, there may be some problems in your setup, or TeamCity doesn't detect ignored tests in your case. If you believe your setup is correct, please provide details of your configuration, how ignored tests are configured/reported in your case.

  Kind regards,
  KIR

0
Comment actions Permalink

So I did a fresh installation of TeamCity and added a very basic module that had a handful of tests, some with the @Ignore annotation. I didn't use any customization on TeamCity other than to set JAVA_HOME and ANT_HOME in the runAll.sh script.  I was unable to get any report of the ignored tests nor can I filter for them.

If I were to guess at it, I would think that TeamCity uses a database to store information for pass/failed/ignore and that same data is used for the stats graphs and build info.  If I'm right, maybe I could look at my database and find a column that would keep a status like passed/failed/ignored which might be counted by a DB query.  I have TeamCity 3.1.2 somewhere.  I may deploy that again just to see what I get as I remember before moving up to 4+ we had ignored test counts.  I'm not entirely sure I'd be proving anything or working towards anything useful because we want to be on the latest build of TeamCity, but my team is certain that the Ignored test count went away with the upgrade.

Thanks Kirill,

Cody

0
Comment actions Permalink

Hello Cody,

  I'm sorry for delay with the answer. I've reproduced the problem, and, actually, found an issue about this problem in our tracker.
  I'm afraid, @Ignored processing never worked in TeamCity due to limitations of <junit> task in Ant.

  Please vote/watch for the issue.

  Kind regards,
  KIR

0

Please sign in to leave a comment.