I've created a Wicket project using the Maven archetype provided at:
http://wicket.apache.org/quickstart.html

I've created a class inherited from a Wicket Component.

I've created a JUnit4 testcase subclass to unit test my class. It just news up an instance of my Component-derived class, and calls methods on it.

When I attempt from Eclipse to run my testcase, I get a an exception:

org.apache.wicket.WicketRuntimeException: There is no application attached to current thread main

How can I set up my eclipse and maven environments so that I can run testcases, from within eclipse and as part of the maven build process?

Has someone created a Junit Testcase subclass that handles setting up Wicket?

Thanks,
Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to