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

Notification

Icon
Error

VSTest playlist
GurdipS
#1 Posted : Tuesday, December 14, 2021 11:17:28 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/14/2021(UTC)
Posts: 9
Location: United Kingdom

Hi,
I am new to NCrunch and like it.

Hoever, is it possible to point the ncrunch console tool to a vstest playlist?
Remco
#2 Posted : Tuesday, December 14, 2021 11:35:37 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi, thanks for posting.

Sorry, we don't support vstest playlists. You might want to look at using test categories and custom engine modes instead.
GurdipS
#3 Posted : Wednesday, December 15, 2021 2:43:31 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/14/2021(UTC)
Posts: 9
Location: United Kingdom

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?
Remco
#4 Posted : Wednesday, December 15, 2021 11:32:21 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
GurdipS;15875 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.
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.032 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download