Re: Junit required for WicketTester?
On Fri, 07 Mar 2008, reikje wrote: > Do you have to have junit.jar in the classpath if you want to use > WicketTester? We are using TestNG here and in a regular TestNG test case Supposedly BaseWicketTester is testing framework neutral, and WicketTester the JUnit version of it. Theoretically you might be able to do TestNgWicketTester by extending BaseWicketTester, but I don't know if it would work in practice. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oyhttp://www.ri.fi/ > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Junit required for WicketTester?
On 3/9/08, Frank Bille <[EMAIL PROTECTED]> wrote: > In 1.3 WicketTester is the Junit implementation of BaseWicketTester. > I don't think that will pose any problems. TestNG (and Maven Surefire) is supposed to be able to run JUnit-based tests (using JUnit asserts) just fine. As long as your test classes have the @Test annotations, you should be ok. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Junit required for WicketTester?
In 1.3 WicketTester is the Junit implementation of BaseWicketTester. Frank On Fri, Mar 7, 2008 at 3:33 PM, reikje <[EMAIL PROTECTED]> wrote: > > Do you have to have junit.jar in the classpath if you want to use > WicketTester? We are using TestNG here and in a regular TestNG test case > (where the class is annotated with @Test), I get > java.lang.NoClassDefFoundError: junit/framework/AssertionFailedError. > -- > View this message in context: > http://www.nabble.com/Junit-required-for-WicketTester--tp15892202p15892202.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Junit required for WicketTester?
i think tester uses junit's asserts, so yes. -igor On Fri, Mar 7, 2008 at 6:33 AM, reikje <[EMAIL PROTECTED]> wrote: > > Do you have to have junit.jar in the classpath if you want to use > WicketTester? We are using TestNG here and in a regular TestNG test case > (where the class is annotated with @Test), I get > java.lang.NoClassDefFoundError: junit/framework/AssertionFailedError. > -- > View this message in context: > http://www.nabble.com/Junit-required-for-WicketTester--tp15892202p15892202.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Junit required for WicketTester?
Do you have to have junit.jar in the classpath if you want to use WicketTester? We are using TestNG here and in a regular TestNG test case (where the class is annotated with @Test), I get java.lang.NoClassDefFoundError: junit/framework/AssertionFailedError. -- View this message in context: http://www.nabble.com/Junit-required-for-WicketTester--tp15892202p15892202.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]