Turning on /labels unexpectedly seems to turn on /nodots
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nunit-console |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I am using /out: to output my logs to a file. However, those logs are incomprehensible as I cannot know which test is outputting them. So I have to turn on /labels which solves the problem. Unfortunately, as soon as I turn on /labels, nunit stops putting dots, as if we have the /nodots option set, which I do not. The result is that, since our tests are so long, it seems as if nothing is happening, but if I open the log file it is being updated. I want to have /labels without getting rid of the dots.
Looking at the code, the problem seems to be in ConsoleRunner/
this.progress = !options.xmlConsole && !options.labels && !options.nodots;
This is incorrect, and should be changed to:
this.progress = !options.xmlConsole && !options.nodots;
If someone doesn't want the dots, they should explicitly set '/nodots'.
Changed in nunitv2: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
affects: | nunitv2 → nunit-console |