On Sun, 08 Feb 2009, HHB wrote:
> Does maven-jetty-plugin getting used when we run Wicket tests (WicketTester),
> you know, integration tests?

No, WicketTester is for testing the component code in a more
unit-test like fashion [1], without running it in a
container.

But if you do some whitebox / functional / in-container
style tests with e.g. WebDriver (or Selenium), you can use
the Jetty plugin to start the application for running the
tests again it.


[1] Strictly speaking WicketTester tests aren't unit tests 
because the use the file system and parse XML and are a bit 
slower than "real" unit tests

  http://www.artima.com/weblogs/viewpost.jsp?thread=126923

but the difference doesn't usually matter until you have
hundreds or thousands of tests.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

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

Reply via email to