I think this is some kind of classloader problem, but I can't see why. An instanceof test passes without cobertura, but fails with it. All three classes involved in the instanceof (the LHS, the RHS, and the class in which the test occurs) are in jar files, i.e. none of them have been instrumented. Justin
________________________________ From: Stephen Connolly [mailto:[EMAIL PROTECTED] Sent: Thu 9/25/2008 3:09 AM To: user@mojo.codehaus.org Subject: Re: [mojo-user] test pass normally, but fail under cobertura I have seen tests fail under cobertura when: 1. Tests have timeouts 2. Tests make incorrect assumptions about how the JVM memory model and synchronization work (or don't) This second one is why I always say run your tests twice ;-) 2008/9/25 Edelson, Justin <[EMAIL PROTECTED]> I've been struggling for the past 2 days with a set of Spring-based integration tests that pass when run normally (i.e. mvn test), but fail when run using the cobertura plugin. I recognize this is a shot in the dark, but if anyone has any ideas on things I can try, I'd appreciate it. Specifically, I'd be interested in any differences in the classpath between a normal test run and the cobertura test run. Thanks, Justin