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

Notification

Icon
Error

Output version of console tool?
GreenMoose
#1 Posted : Friday, November 21, 2014 12:17:19 PM(UTC)
Rank: Advanced Member

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

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
v2.10.0.4

The current way I use to output record which NCrunch version is being used (so I get that in TC's build log) is:
Quote:
ncrunch | findstr /R "v[0-9]"


Is that supposed to be part of initial console output when running?
(If not it would be nice to have --version switch and/or preferably echo the version used to console when starting.)
Remco
#2 Posted : Friday, November 21, 2014 8:08:40 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi,

Normally the console tool will emit the version number if you run it without parameters. It should be on the first line of text in the output.

Is this what you're asking? Or are you looking for the version to be emitted when the tool is used with parameters also?


Thanks!

Remco
GreenMoose
#3 Posted : Monday, November 24, 2014 6:30:19 AM(UTC)
Rank: Advanced Member

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

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
Remco;6617 wrote:
Or are you looking for the version to be emitted when the tool is used with parameters also?

Yeah, also it would be useful to output version of each grid node used.
For instance from a TC log:
Quote:

[15:02:14] : TeamCity server version is 8.1.4 (build 30168)
...
[15:02:48] : [Get dotCover version] Output: JetBrains dotCover Console Runner v2.7.2.84. Copyright (c) 2009-2014 JetBrains s.r.o. All rights reserved.
...
[15:02:52] : [exec] Microsoft (R) Build Engine version 4.0.30319.18408
...

etc.

i.e. it is good to be able to determine in logs which version of tools that were used during that build when troubleshooting etc.
Remco
#4 Posted : Monday, November 24, 2014 9:10:21 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Fair enough. I'll see if I can get it added :)
1 user thanked Remco for this useful post.
GreenMoose on 11/24/2014(UTC)
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.061 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download