[EMAIL PROTECTED] wrote:
Hi,
after being able to run my htmlunit tests (thanks to vincent for
the dependency hint!) I am just struggling with the order, when
the unit tests are run.
As I have a seperate project to build the war, I thought it would
be intended to have the testcases for this war inside this project.
Unfortunately the war:webapp goal depends on having test:test
goal run before.
So would you recommend to create an additional project just containing
the (functional) tests for the (running) web application?
Yes - it fits nicely to the way Maven is doing things and in the long
run you accumulate enough test code to justify an independent project.
And if you feel bored writing HTMLUnit tests you can also switch to
Canoo WebTest .... ;-)
[My first try included a preGoal for test:test which contained
an attainGoal to "tomcat:deploy". Unfortunately this resulted
in an endless loop within maven.]
Yours
Stefan
__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
---------------------------------------------------------------------
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]