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



Console tool, tests queued for passive execution results in no run tests?
#1 Posted : Thursday, June 14, 2018 6:43:52 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 390

Thanks: 86 times
Was thanked: 40 time(s) in 39 post(s)
[NCrunch Console Tool v3.17.0.2]

I see a couple of these early in the TeamCity build log

[18:45:12][Step 5/7] [Core-17] Queuing 1 tests for passive execution
[18:45:12][Step 5/7] [Core-17] Queuing 37 tests for passive execution
[18:45:12][Step 5/7] [Core-17] Queuing 10 tests for passive execution
[18:45:12][Step 5/7] [Core-17] Queuing 2 tests for passive execution
[18:45:13][Step 5/7] [LocalBuildTask-31] Now building Utils

But TeamCity reports 0 tests passed and 14986 ignored (no failures). Doesn't above log indicate that some tests should have been executed?

p.s. I don't see a summary similar to "x tests passed, y tests failed, z tests ignored" in the NCrunch output which would've been nice to have d.s.

#2 Posted : Thursday, June 14, 2018 10:20:04 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,328

Thanks: 700 times
Was thanked: 866 time(s) in 824 post(s)
I wouldn't take the queue messages in the log too seriously. The console tool is an adaptation of the NCrunch engine designed to run without a UI, and as such it has a workflow logic that reflects a situation where state changes made to the engine happen progressively through the run. I suspect in this case that the tests are being queued before all the configuration gets applied, and they then get removed from the queue later.

The log output from the console tool is a very internal view of the workings of the engine. These logs were initially designed for us to troubleshoot the engine itself, as opposed to being a user-friendly way to examine the workings of a console tool run. I guess this is just the way that things have progressed that these logs are now very visible and being used by everyone to understand what the console tool is doing. The root problem here is that the workings of the tool are not descriptive enough for anyone to understand how it behaves and why it does what it does. We just haven't put enough investment yet into the reports to be able to show this sort of thing, but we're working on that :)
1 user thanked Remco for this useful post.
GreenMoose on 6/14/2018(UTC)
Users browsing this topic
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.020 seconds.