Show unit testing metrics #97
Description
SD-1035, originally created on 8/30/2006 18:39:52 by Matt Ward
At the moment we see metrics only shown if the tests are run with the
debugger or with code coverage. This info is shown in the output
window:
Tests run: 43, Failures: 2, Not run: 0, Time: 0.282 seconds
Now Brian Bailey made a feature request on the forum to add this
information to the Unit testing tree view:
http://community.sharpdevelop.net/forums/thread/11055.aspx
The NUnit GUI puts a summary in the status bar:
Test Cases: 43 Tests Run: Failures: 10 Time: 10.43
Options:
- Put the single test summary string into the output window when
running the tests in the Unit Testing window. This would make it
consistent with the other ways to run the unit tests. - Put this information the Unit Testing window.
a) All info on one line as a string at the bottom of the Unit Testing
window.
b) One item per line, plain text.
c) Icons, one per line, with text (e.g. Red circle - failed test
count next to it; Clock - time next to it).
For option 2) the information should not mean the user needs to keep the
window wide so just putting the information on one line is probably not
good enough. So I think option 2)a) is not good enough. Personally I
have the unit test window on the right hand side since the tree view
does not take up much width. Making it wider just for this seems a bit
wasteful unless we completely revamp it and do something similar to
MonoDevelop:
http://www.monodevelop.com/Image:Nunitmain.png
Maybe we could have a progress bar too?
Anyway, up for discussion.