I suggest you ...

mstest output format suggestions

Hi
The default mstest output is :
Results Top Level Tests
------- ---------------
Passed Citect.Platform.Browse.UnitTests.TreeCacheBrowseSessionTests.TreeCacheBrowseSessionTest
[starttime] = 25/08/2015 6:57:28 AM
[endtime] = 25/08/2015 6:57:49 AM

With the /detail:starttime /detail/endtime added. This has a couple of issues :
1. This is UTC time which is not flagged with the "T" or the +10 for the time offset when most other timestamping is in local time
2. I would prefer one line per result

Now I know I can make the trx file do anything, however it would be nice if the default logging was better.

Request :
a. allow some C# api override of this or
b. allow a new switch to have a format option, e.g.
/format "{0} {1} {2} {3}" <= ideally with C# allowed , e.g.
/format {"{0} {1} {2} {3}", /result, /name, DateTime(/starttime), DateTime(/endtime) - DateTime(/starttime), }

Thanks

1 vote
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Greg R shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base