September 11, 2004
Better reporting in TestNG
I have improved the reporting made by TestNG to give you more information on your last test run, and more precisely:
The list of groups with their methods. When you write your test methods and assign them to certain groups, you might lose track of which method belongs to which groups since these groups can span over different classes. This view allows you to quickly see the list of groups and which methods are in them, which makes it easy to see, for example, which tests are in the "broken" group (and therefore are in need to be fixed) or how many methods your "functest" group really contains.
The sequence of method invocations. This is a list of all the methods that were invoked during your test, sorted chronologically. This is a good way to make sure that your configuration methods are being invoked correctly or that your inclusion and exclusion of test methods is as you expect it. As you can see from this view, configuration class methods are invoked before the instantiation of your test class and after the last test method has run, while configuration methods methods are being invoked "around" each test method.
I am still not quite satisfied with the way the
main page looks, so if you have suggestions to improve it, please let me know.
Posted by cedric at September 11, 2004 07:10 PM
Get that horrible green color away ;)
try to define a default default-style.css.
Then allow a firm-oriented myfirm-style.css, that override default-style.css to personalize your default.
Than every report feels graciusly at home.
Great work cedric!
Cedric, please please, get rid of this green stuff. By the way, check out how report of JDepend looks like.