Setup Problems

VSTest playlist

Started by GurdipS on 2,351 views

Hi,
I am new to NCrunch and like it.

Hoever, is it possible to point the ncrunch console tool to a vstest playlist?
ok that makes sense.

I need my tests to execute in a set order, seeing an example, my test method can just invoke some methods in the test class in order. Which will work.

I have one more question

This may be for TeamCity (my build server), but how can I fail a build if code coverage is below a metric?
GurdipS wrote:
This may be for TeamCity (my build server), but how can I fail a build if code coverage is below a metric?


We don't have any feature inside NCrunch that can fail the build based on code coverage percentages, but the console tool does output a range of reports and XML files that detail code coverage. You may be able to write a small tool or script of your own that check the data in these files and fail the build accordingly.

Post a reply

Log in to reply.