phuccaoca123 / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Report enhancement: Importing sorting/grouping of tests in reports. #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Originally reported by Marc Stober:
http://www.mertner.com/jira/browse/MBUNIT-66

This feature calls for a variety of actions such as making HTML reports
more dynamic.  Existing uses of Javascript in the HTML report to show/hide
panels have been useful.  That idea could be taken a step further by
providing dynamic sorting/grouping based on DOM manipulations.  Obviously
the report should remain usable without Javascript.  I can imagine a few
such affordances like the one described below would go a long way to
enhancing the usability of large MbUnit reports presented outside of the
MbUnit GUI.

=====

Summaries by Variable:

This is the basic idea for a new feature. Thoughts on exactly how this
could be designed and implemented are welcome!

The idea is letting the user see trends by variable in data-driven testing
(especially combinatorial tests).

For example if we have:
[CombinatorialTest] public void MyTest (int a, int b) {
    Assert.AreNotEqual(b, 0);
}

The test would pass for every value of a, but fail whenever the value of b
is 0. In a complex real-world scenario it's not always easy to see that a
particular value of a variable is responsible for a set of failures, so we
could add a "summary by variable" to the report; for example.

a = 0 RG
a = 1 RG
b = 0 RR <- fully red bar - would draw your attention to this issue
b = 1 GG

(In the above R and G are standing in for red and green areas of the result
bars.) 

Original issue reported on code.google.com by jeff.br...@gmail.com on 2 Sep 2007 at 10:44

GoogleCodeExporter commented 8 years ago

Original comment by jeff.br...@gmail.com on 2 Sep 2007 at 10:58

GoogleCodeExporter commented 8 years ago

Original comment by jeff.br...@gmail.com on 30 Oct 2007 at 2:14

GoogleCodeExporter commented 8 years ago

Original comment by jeff.br...@gmail.com on 6 Jan 2008 at 7:22

GoogleCodeExporter commented 8 years ago

Original comment by jeff.br...@gmail.com on 17 Mar 2008 at 10:57

GoogleCodeExporter commented 8 years ago

Original comment by jeff.br...@gmail.com on 29 Jun 2009 at 8:32

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 14 Jun 2011 at 5:53