How to mark a test as inconclusive with Team City service messages

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

0
6 comments

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.

0
Avatar
Permanently deleted user

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

0

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.

0
Avatar
Permanently deleted user

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

0
Avatar
Permanently deleted user

I would file a feature request for this. It sounds useful to have this additional state.

0
Avatar
Permanently deleted user
0

Please sign in to leave a comment.