How to debug 0% coverage problem?

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

How to debug 0% coverage problem?

by Jim R :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,:

Ok, finally solved the NPE problem (caused by no instrumented classes in
my web application), now everything is working but the coverage is 0%
for all my classes even though I have Cactus test cases running against
them.

I have:
01:45:39,468 INFO  [STDOUT] Cobertura: Loaded information on 43 classes.
01:45:39,609 INFO  [STDOUT] Cobertura: Saved information on 43 classes.
During startup and when saveGlobalProjectData is called, so I think the
correct ser file is used. I used a jsp to call saveGlobalProjectData,
and I can see the timestamp of the ser file change after the jsp is run,
so data is indeed written to the ser file, the ser file is also changed
(binary comparison), but the coverage is still 0%. Any idea on how to
debug this problem?

Thanks

RJX

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cobertura-devel mailing list
Cobertura-devel@...
https://lists.sourceforge.net/lists/listinfo/cobertura-devel
LightInTheBox - Buy quality products at wholesale price!