Measure integration test coverage?

View: New views
3 Messages — Rating Filter:   Alert me  

Measure integration test coverage?

by dfabulich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


SUREFIRE-50 says that we need to create "comprehensive tests."  That's a
good goal, but there's no way to know if we did it or not unless we
measure coverage, so I filed SUREFIRE-393: "Measure test coverage for
surefire, including ITs"

http://jira.codehaus.org/browse/SUREFIRE-393

Does anybody have a good suggestion as to how to do that?  Will one of the
standard Maven coverage tools do what I want?  Brett at one point
recommended EclEmma, but I don't think it will record test coverage from
out-of-proc tests, will it?

-Dan

Re: Measure integration test coverage?

by baerrach :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Nov 26, 2007 12:48 PM, Dan Fabulich <dan@...> wrote:

>
> SUREFIRE-50 says that we need to create "comprehensive tests."  That's a
> good goal, but there's no way to know if we did it or not unless we
> measure coverage, so I filed SUREFIRE-393: "Measure test coverage for
> surefire, including ITs"
>
> http://jira.codehaus.org/browse/SUREFIRE-393
>
> Does anybody have a good suggestion as to how to do that?  Will one of the
> standard Maven coverage tools do what I want?  Brett at one point
> recommended EclEmma, but I don't think it will record test coverage from
> out-of-proc tests, will it?

Cobertura is another open source tool for test coverage.

Re: Measure integration test coverage?

by dfabulich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Barrie Treloar wrote:

> Cobertura is another open source tool for test coverage.

I'm open to suggestions as to how I'd use it in this case to measure the
coverage of Surefire ITs... :-)

-Dan

LightInTheBox - Buy quality products at wholesale price!