You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nathan Wilhelmi <wi...@ucar.edu> on 2011/01/04 20:10:48 UTC
Re: Fail a build if the web application fails to load in Jetty....
Hi - HtmlUnit is a simpler solution for what we are trying to test right
now. What I am really after is failing fast on the integration tests. If
the app didn't start I would rather not run through each test and all
setup associated with each one.
-Nate
Kalle Korhonen wrote:
> Why not http://docs.codehaus.org/display/TYNAMO/2010/07/30/Full+web+integration+testing+in+a+single+JVM
> and something like
> http://svn.codehaus.org/tynamo/trunk/tapestry-model/tapestry-model-test/src/main/java/org/tynamo/test/AbstractContainerTest.java
> ?
>
> With an embedded Jetty, your integration tests would behave just like
> your unit tests.
>
> Kalle
>
>
> On Wed, Dec 29, 2010 at 1:03 PM, Nathan Wilhelmi <wi...@ucar.edu> wrote:
>
>> Hi -
>>
>> We are working on integrating Jetty deployment into our integration tests.
>> We don't have any selenium type tests yet. Is there any to fail the build if
>> the web application fails to start in Jetty? We would like to use this as
>> first step.
>>
>> Thanks!
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Fail a build if the web application fails to load in Jetty....
Posted by Kalle Korhonen <ka...@gmail.com>.
TestNG skips rather than fails remaining tests once the first one
fails. Tynamo's tests use testng, poke around in the svn and you'll
see they are otherwise very similar to JUnit(4).
Kalle
On Tue, Jan 4, 2011 at 11:10 AM, Nathan Wilhelmi <wi...@ucar.edu> wrote:
> Hi - HtmlUnit is a simpler solution for what we are trying to test right
> now. What I am really after is failing fast on the integration tests. If the
> app didn't start I would rather not run through each test and all setup
> associated with each one.
>
> -Nate
>
> Kalle Korhonen wrote:
>>
>> Why not
>> http://docs.codehaus.org/display/TYNAMO/2010/07/30/Full+web+integration+testing+in+a+single+JVM
>> and something like
>>
>> http://svn.codehaus.org/tynamo/trunk/tapestry-model/tapestry-model-test/src/main/java/org/tynamo/test/AbstractContainerTest.java
>> ?
>>
>> With an embedded Jetty, your integration tests would behave just like
>> your unit tests.
>>
>> Kalle
>>
>>
>> On Wed, Dec 29, 2010 at 1:03 PM, Nathan Wilhelmi <wi...@ucar.edu>
>> wrote:
>>
>>>
>>> Hi -
>>>
>>> We are working on integrating Jetty deployment into our integration
>>> tests.
>>> We don't have any selenium type tests yet. Is there any to fail the build
>>> if
>>> the web application fails to start in Jetty? We would like to use this as
>>> first step.
>>>
>>> Thanks!
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org