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 >