NCrunch Forum
»
General Support
»
Build/Test Issues
»
NCrunch console warnings in log output?
Rank: Advanced Member
Groups: Registered
Joined: 6/17/2012(UTC) Posts: 507
Thanks: 145 times Was thanked: 66 time(s) in 64 post(s)
|
In my NCrunch Console's TestResults folder I get something like Quote:NUnit tests have been detected with the same name Is it possible somehow to include these in log so I can fail the build if I spot NCrunch warnings? Thanks.
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,145
Thanks: 960 times Was thanked: 1290 time(s) in 1196 post(s)
|
This warning is included in the AllResults.html file along with more detailed information that includes the tests with duplicate names.
Or are you looking for a specific string to go into the NCrunch internal logs so you can pick this up with a Regex? I generally recommend steering away from tying into the internal NCrunch logs.. because they are .. well.. internal.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 6/17/2012(UTC) Posts: 507
Thanks: 145 times Was thanked: 66 time(s) in 64 post(s)
|
Yeah my intention was to fail the TeamCity build if it finds a ncrunch warning in logs (as it does for all other warnings).
I can parse the html output file but that's not pretty :)
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,145
Thanks: 960 times Was thanked: 1290 time(s) in 1196 post(s)
|
GreenMoose;10096 wrote:Yeah my intention was to fail the TeamCity build if it finds a ncrunch warning in logs (as it does for all other warnings).
I can parse the html output file but that's not pretty :) I can't make promises on this right now, but I'll take a look :)
|
1 user thanked Remco for this useful post.
|
|
|
NCrunch Forum
»
General Support
»
Build/Test Issues
»
NCrunch console warnings in log output?
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.NETThis page was generated in 0.031 seconds.