develooper Front page | perl.qa | Postings from December 2002

Re: Graphically depicting coverage vs. test results

Thread Previous | Thread Next
From:
Paul Johnson
Date:
December 12, 2002 15:16
Subject:
Re: Graphically depicting coverage vs. test results
Message ID:
20021212231653.GT4571@pjcj.net
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:
> 
>     http://www.cc.gatech.edu/aristotle/Tools/tarantula/
> 
>     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.

http://pjcj.sytes.net/cover/cpancover/cpancover.html

-- 
Paul Johnson - paul@pjcj.net
http://www.pjcj.net

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About