THANK YOU!
I was pulling my hair out, and since this was my first time with the
WicketTester, i was totally thinking it was my use of the wicket
classes.
Now i'm back to kicking ass!
On 6/6/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> Hi Ryan,
>
> This explains it:
> http://www.jroller.com/
Hi Ryan,
This explains it:
http://www.jroller.com/page/gridhaus?entry=maven2_testing_madness
File it under "Ways in which maven hates me..." :)
If you put this stanza in your pom, your test will work:
...
org.apache.maven.plugins
maven-surefire-plugin
On 6/5/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> Hi Ryan,
> I don't think you can test it like that unless you have a default
> constructor, and even then I don't think it will work (I'm a bit
> spotty on this). What I have always done is this:
>
> tester.startPanel(new TestPanelSource () {
here is the output from maven (copied from bamboo logs):
[INFO] Surefire report directory: /data/home/wicket/var/data/
bamboo/xml-data/build-dir/ WICKETSCRIPTACULOUS-TRUNK/target/
surefire-reports
org.apache.maven.surefire.booter.SurefireExecutionException: Unable to
instantiate POJO 'clas
What is the failure stack trace when you execute it in maven?
Eelco
On 6/5/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
> I could use a little help here. I'm trying to write a unit test for
> my component in wicketstuff-scriptaculous. The test runs in eclipse
> just fine, but running "mvn test" c
Hi Ryan,
I don't think you can test it like that unless you have a default
constructor, and even then I don't think it will work (I'm a bit
spotty on this). What I have always done is this:
tester.startPanel(new TestPanelSource () {
Panel getTestPanel(final String panelId) {
return
I could use a little help here. I'm trying to write a unit test for
my component in wicketstuff-scriptaculous. The test runs in eclipse
just fine, but running "mvn test" causes a build failure.
What is the correct way to test this?
public class AjaxEditInPlaceLabelTest extends TestCase {