How to mark a test as inconclusive with Team City service messages
Followed by 2 people
Hi,
I'm looking for a service message that lets me mark a test as inconclusive and set its color to yellow(or gray).
Something similar to this message: ##teamcity[testFinished name='my name']
Thanks
Pawel
Please sign in to leave a comment.
Pawel,
Can you describe in greater detail, what do you mean by "inconclusive"?
A simple workaround seems to mark them as failed with appropriate failure message.
TeamCity currently supports only failed, passed and ignored test run result. The only other state we have a feature request to add is muted.
A BDD test that impelements a user story (we use StorEvil) would be inconclusive when it's not implemented or one of its steps is missing.
It's not a failure and it tells us that we still have some scenarios to cover. I believe nUnit markes them in yellow.
Thanks
Pawel
I think the closest term in TeamCity for such tests is "ignored". You can send ignored tests with service messages too, you can also provide comment, why the test is ignored.
That's exactly what I'm doing now but I'm looking for a better solution. Well, I will keep an eye on the future releases of TC
Thanks
Pawel
I would file a feature request for this. It sounds useful to have this additional state.
Done: http://youtrack.jetbrains.net/issue/TW-13252