Re: Running integration tests

2014-10-07 Thread Anders Hammar
> > So failsafe will pickup > > ITblahblah.java > BlahblahIT.java > > And a third form that I forget > *ITCase.java http://maven.apache.org/surefire/maven-failsafe-plugin/integration-test-mojo.html#includes /Anders > > > > > > > > > > 3) Run integration tests after compile? > > > > The real re

Re: Running integration tests

2014-10-07 Thread Stephen Connolly
Then all I ask is you pay your newfound enlightenment forward... With this information you can answer some maven newbie questions on the M/L On Wednesday, 8 October 2014, Robert Mark Bram wrote: > Thank you Stephen - this was very useful and came just when I am ready > to start piecing together

Re: Running integration tests

2014-10-07 Thread Manfred Moser
You got it Robert.. Robert Mark Bram wrote on 07.10.2014 19:59: > OK, this was very helpful too. In this case, I am working with a > multi-module project and I decided it was best to add our selenium > tests in a new project to keep them away from other project code. We > have 13 pom.xml files,

Re: WAR contains SNAPSHOT JARs with timestamps

2014-10-07 Thread captainslow
I tried adding the following, but couldn't get it to work. Timestamp was appended to the SNAPSHOT jars. {code} org.apache.maven.plugins maven-war-plugin 2.4 @{artifactId}@-@{baseVersion}@.@{extension}@ {/code}

Re: Running integration tests

2014-10-07 Thread Robert Mark Bram
Thank you Stephen - this was very useful and came just when I am ready to start piecing together this level of detail. > > 1) Default vs non-default plugins > > suddenly a White Rabbit with pink eyes ran close by Alice So, what I understood from this trip down the rabbit-hole. - Maven defines var

RE: [maven] Best practice for integration tests (vs unit tests)

2014-10-07 Thread Jason Pyeron
> -Original Message- > From: Kevin Burton > Sent: Tuesday, October 07, 2014 19:28 > > Right now I have an overlap of unit and integration tests and > I want to > tear out my integration tests and keep them separate. This > way our unit > tests execute fast and integration testing takes

Re: Best practice for integration tests (vs unit tests)

2014-10-07 Thread Karl Heinz Marbaise
Hi Kevin, the best suggestion i can give is simply make a separate module where the integration tests should be moved to... This has the advantage having different location for them, cause they are more than unit tests which is expressed by using a separate module furthermore you have the

Best practice for integration tests (vs unit tests)

2014-10-07 Thread Kevin Burton
Right now I have an overlap of unit and integration tests and I want to tear out my integration tests and keep them separate. This way our unit tests execute fast and integration testing takes a bit longer. … and now I’m trying to figure out the best strategy for that. Reading this: http://docs

Surefire plugin report all successfull sub tests.

2014-10-07 Thread Chalashkanov, Mihail
Hi Colleagues, Is there a possibility the surefire-plugin to count all successful subtest(verify statements) for Junit tests. Here is the describing of the problem: > Imagine you have two tests, with each having 5 verify statements > If both tests succeed, the test result will show two tests whi

Re: failsafe plugin error with suiteXml

2014-10-07 Thread Irfan Sayed
please suggest .. i am really stuck regards On Tue, Oct 7, 2014 at 10:51 PM, Irfan Sayed wrote: > hi, > > i am using maven failsafe plugin to run the integration tests > however, i am getting following error when i am executing integration > tests along with cobertura > > execute goal mvn-fail

failsafe plugin error with suiteXml

2014-10-07 Thread Irfan Sayed
hi, i am using maven failsafe plugin to run the integration tests however, i am getting following error when i am executing integration tests along with cobertura execute goal mvn-failsafe-plugin: (failsafe-integration-tests) project x: suiteXmlFiles is configured, but there is no TestNG dependen