develooper Front page | | Postings from December 2002

Re: Graphically depicting coverage vs. test results

Thread Previous | Thread Next
Paul Johnson
December 12, 2002 15:16
Re: Graphically depicting coverage vs. test results
Message ID:
On Tue, Dec 10, 2002 at 12:48:29PM -0500, Barrie Slaymaker wrote:

> Here's an interesting way of depicting the statements that are likely
> to have cause test failures:
>     Tarantula displays each source code statement using color models
>     that reflect its relative success rate of its execution by the test
>     suite. Roughly, statements that are executed by a failed test case
>     become more red, and statements that are executed by a passed test
>     case become more green.

I had been thinking about ways to make code coverage information more
useful, and had considered something along these lines.  I also had
thoughts along the lines of all tests not being equal.  Generally the
earlier a test is run, the more important it is.  I also have plans for
providing an ordering for tests such that tests which give the greatest
increase in coverage are run earlier.

But all this is for the future.  For me anyway.

Here's something I've been working on recently.  It's ugly, but that's
the level of my artistic competence.  It's also inaccurate.  That, I'm
working on.

Paul Johnson -

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About