Hi Paul, I seem to be too stupid to get testify working with JUnit 4, I can't get even past the gate:
java.lang.NoClassDefFoundError: Could not initialize class com.albourne.web.testinfrastructure.TestMailService at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74) at org.junit.internal.runners.BeforeAndAfterRunner.runAfters(BeforeAndAfterRunner.java:65) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:37) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) I get this regardless of what I try, its being caused by: private static final TapestryTester SHARED_TESTER = new TapestryTester("demo", MyCoreModule.class); ... I am not sure exactly what this relates to, especially without source. Any suggestions? Cheers, Peter ----- Original Message ----- From: "Paul Field" <paul.fi...@db.com> To: "Tapestry users" <users@tapestry.apache.org> Sent: Monday, 22 June, 2009 12:07:02 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: [Announce] Tapestry Testify project p.stavrini...@albourne.com wrote on 19/06/2009 17:00:14: > could there be a naming problem in > the constructor, shouldn't it read: > > public abstract class AbstractMyApplicationTest extends TapestryTest { ..... > public *AbstractMyApplicationTest()* { //and not TestifyTest() ? > super(SHARED_TESTER); > } ... Hi Peter, Doh! Yes - I renamed the classes in the documentation and forgot to rename the constructors... thanks for pointing that out. I'll fix the documentation when I'm at home - it will be in the next nightly build. Paul ------------------ Paul Field Research IT Deutsche Bank --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org