On 12/04/2011, at 12:36 AM, richardm wrote: > I've got a few unit test failures since upgrading from milestone-1. The > underlying errors seem to be: > > Caused by: java.lang.NoSuchMethodError: > org.junit.runner.Description.getClassName()Ljava/lang/String;
Do you have a stack trace for this exception? > > Has anything changed in this area e.g. version of JUnit? It has. We now use the junit 4 Runner API, instead of the junit 3 Test API. > > FYI I have a mixture of Junit 3 and Junit 4 tests. Which actual version of junit are you using? ie what have you declared for your testCompile dependencies? -- Adam Murdoch Gradle Co-founder http://www.gradle.org VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting http://www.gradleware.com
