You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/08/07 19:41:00 UTC

svn commit: r683661 - /maven/release/trunk/maven-release-plugin/pom.xml

Author: bentmann
Date: Thu Aug  7 10:41:00 2008
New Revision: 683661

URL: http://svn.apache.org/viewvc?rev=683661&view=rev
Log:
o Synced id and activation of integration-tests with core ITs

Modified:
    maven/release/trunk/maven-release-plugin/pom.xml

Modified: maven/release/trunk/maven-release-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/release/trunk/maven-release-plugin/pom.xml?rev=683661&r1=683660&r2=683661&view=diff
==============================================================================
--- maven/release/trunk/maven-release-plugin/pom.xml (original)
+++ maven/release/trunk/maven-release-plugin/pom.xml Thu Aug  7 10:41:00 2008
@@ -154,13 +154,7 @@
   <profiles>
     <!-- TODO: Enable once MINVOKER-43 is released and the staging works reliably
     <profile>
-      <id>integration-tests</id>
-      <activation>
-        <property>
-          <name>maven.test.skip</name>
-          <value>!true</value>
-        </property>
-      </activation>
+      <id>run-its</id>
       <build>
         <plugins>
           <plugin>



Re: svn commit: r683661 - /maven/release/trunk/maven-release-plugin/pom.xml

Posted by Christian Edward Gruber <ch...@gmail.com>.
I know I'm not a part of the core team here, but the two tests are  
written differently, and send different signals.  It's  
quiteappropriate to run them on different schedules, and not least  
since they're usually slower than Unit Tests.   In nearly all of my  
clients, they don't have ITs on by default, so building doesn't run  
ITs - a developer runs ITs on demand, but the CI system schedules them  
every couple of hours or less, so they are frequently run.

cheers,
Christian.

On 8-Aug-08, at 10:57 , Brian E. Fox wrote:

>
>> CI did not develop or make release for us ;) So, I think we need to  
>> be
>> developer oriented and not CI oriented.
> Then activate the Its in the release, that makes perfect sense. The
> point is I don't need long running Its in my face on every build. I
> should run them before I commit, when I release and let CI do them  
> other
> times (in case I forget on commit, or there is some other integration
> issue not present on my machine)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


RE: svn commit: r683661 - /maven/release/trunk/maven-release-plugin/pom.xml

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
>CI did not develop or make release for us ;) So, I think we need to be
>developer oriented and not CI oriented.
Then activate the Its in the release, that makes perfect sense. The
point is I don't need long running Its in my face on every build. I
should run them before I commit, when I release and let CI do them other
times (in case I forget on commit, or there is some other integration
issue not present on my machine)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: svn commit: r683661 - /maven/release/trunk/maven-release-plugin/pom.xml

Posted by Dennis Lundberg <de...@apache.org>.
I also think they should be activated by default.

Olivier Lamy wrote:
> Hi,
> Agree with Vincent, they must be activated by default (for me it tests
> are similar to a junit tests).
> And as we have documented in the surefire mojo : "skip ... Its use is
> NOT RECOMMENDED .."
> 
> By the way I can add some extra parameters during my build.
> 
> But I can forget and maybe commit something which failed and deploy a
> snapshot which failed too. (you know like me the story about the
> failure with plexus-component-api which break with mvn and not with
> junit tests).
> 
> If we desactivate this, IMHO  running its must be at least activated
> in the release profile.
> 
> --
> Olivier
> 
> 2008/8/7 Vincent Siveton <vi...@gmail.com>:
>> 2008/8/7 Benjamin Bentmann <be...@udo.edu>:
>>> Hi Vincent,
>>>
>>>> Removing this activation check, ITs will never be been called by
>>>> default. Is it really the wanted behaviour?
>>>> IMHO I think unit testing implies IT testing. Does I missed something?
>>> Well, it appears to be a personal taste: I am just like you in favor of
>>> running tests (whatever kind) by default but the consensus while talking on
>>> IRC (at least as I sensed it, see the logs) was to keep them out of everyday
>>> builds and have them run only on demand by CI.
>> CI did not develop or make release for us ;) So, I think we need to be
>> developer oriented and not CI oriented.
>> So, IMHO ITs are part of the build and should be activated by default
>> when maven.test.skip is true or at least, with dev user property in
>> the settings like skipTests.
>>
>> Other thoughts?
>>
>> Cheers,
>>
>> Vincent
>>
>>
>>
>>> Benjamin
>>>
>>>
>>> [0] http://dev.rectang.com/logs/codehaus/%23maven/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: svn commit: r683661 - /maven/release/trunk/maven-release-plugin/pom.xml

Posted by Arnaud HERITIER <ah...@gmail.com>.
You're right, we have to activate them in the release process.
CI will launch them automatically every 4 hours.
IT's are often very long.
The problem we have actually (see my other thread) is that we develop too
many ITs and not enough UTs.
That's why I would prefer to have a good code coverage with UTs and not rely
everytime on ITs.

I asked your opinion about ITs activation on the other thread. We can
transform it in a vote.

Arnaud

On Thu, Aug 7, 2008 at 9:38 PM, Olivier Lamy <ol...@apache.org> wrote:

> Hi,
> Agree with Vincent, they must be activated by default (for me it tests
> are similar to a junit tests).
> And as we have documented in the surefire mojo : "skip ... Its use is
> NOT RECOMMENDED .."
>
> By the way I can add some extra parameters during my build.
>
> But I can forget and maybe commit something which failed and deploy a
> snapshot which failed too. (you know like me the story about the
> failure with plexus-component-api which break with mvn and not with
> junit tests).
>
> If we desactivate this, IMHO  running its must be at least activated
> in the release profile.
>
> --
> Olivier
>
> 2008/8/7 Vincent Siveton <vi...@gmail.com>:
> > 2008/8/7 Benjamin Bentmann <be...@udo.edu>:
> >> Hi Vincent,
> >>
> >>> Removing this activation check, ITs will never be been called by
> >>> default. Is it really the wanted behaviour?
> >>> IMHO I think unit testing implies IT testing. Does I missed something?
> >>
> >> Well, it appears to be a personal taste: I am just like you in favor of
> >> running tests (whatever kind) by default but the consensus while talking
> on
> >> IRC (at least as I sensed it, see the logs) was to keep them out of
> everyday
> >> builds and have them run only on demand by CI.
> >
> > CI did not develop or make release for us ;) So, I think we need to be
> > developer oriented and not CI oriented.
> > So, IMHO ITs are part of the build and should be activated by default
> > when maven.test.skip is true or at least, with dev user property in
> > the settings like skipTests.
> >
> > Other thoughts?
> >
> > Cheers,
> >
> > Vincent
> >
> >
> >
> >>
> >> Benjamin
> >>
> >>
> >> [0] http://dev.rectang.com/logs/codehaus/%23maven/
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: dev-help@maven.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: svn commit: r683661 - /maven/release/trunk/maven-release-plugin/pom.xml

Posted by Olivier Lamy <ol...@apache.org>.
Hi,
Agree with Vincent, they must be activated by default (for me it tests
are similar to a junit tests).
And as we have documented in the surefire mojo : "skip ... Its use is
NOT RECOMMENDED .."

By the way I can add some extra parameters during my build.

But I can forget and maybe commit something which failed and deploy a
snapshot which failed too. (you know like me the story about the
failure with plexus-component-api which break with mvn and not with
junit tests).

If we desactivate this, IMHO  running its must be at least activated
in the release profile.

--
Olivier

2008/8/7 Vincent Siveton <vi...@gmail.com>:
> 2008/8/7 Benjamin Bentmann <be...@udo.edu>:
>> Hi Vincent,
>>
>>> Removing this activation check, ITs will never be been called by
>>> default. Is it really the wanted behaviour?
>>> IMHO I think unit testing implies IT testing. Does I missed something?
>>
>> Well, it appears to be a personal taste: I am just like you in favor of
>> running tests (whatever kind) by default but the consensus while talking on
>> IRC (at least as I sensed it, see the logs) was to keep them out of everyday
>> builds and have them run only on demand by CI.
>
> CI did not develop or make release for us ;) So, I think we need to be
> developer oriented and not CI oriented.
> So, IMHO ITs are part of the build and should be activated by default
> when maven.test.skip is true or at least, with dev user property in
> the settings like skipTests.
>
> Other thoughts?
>
> Cheers,
>
> Vincent
>
>
>
>>
>> Benjamin
>>
>>
>> [0] http://dev.rectang.com/logs/codehaus/%23maven/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: svn commit: r683661 - /maven/release/trunk/maven-release-plugin/pom.xml

Posted by Vincent Siveton <vi...@gmail.com>.
2008/8/7 Benjamin Bentmann <be...@udo.edu>:
> Hi Vincent,
>
>> Removing this activation check, ITs will never be been called by
>> default. Is it really the wanted behaviour?
>> IMHO I think unit testing implies IT testing. Does I missed something?
>
> Well, it appears to be a personal taste: I am just like you in favor of
> running tests (whatever kind) by default but the consensus while talking on
> IRC (at least as I sensed it, see the logs) was to keep them out of everyday
> builds and have them run only on demand by CI.

CI did not develop or make release for us ;) So, I think we need to be
developer oriented and not CI oriented.
So, IMHO ITs are part of the build and should be activated by default
when maven.test.skip is true or at least, with dev user property in
the settings like skipTests.

Other thoughts?

Cheers,

Vincent



>
> Benjamin
>
>
> [0] http://dev.rectang.com/logs/codehaus/%23maven/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: svn commit: r683661 - /maven/release/trunk/maven-release-plugin/pom.xml

Posted by Benjamin Bentmann <be...@udo.edu>.
Hi Vincent,

> Removing this activation check, ITs will never be been called by
> default. Is it really the wanted behaviour?
> IMHO I think unit testing implies IT testing. Does I missed something?

Well, it appears to be a personal taste: I am just like you in favor of 
running tests (whatever kind) by default but the consensus while talking 
on IRC (at least as I sensed it, see the logs) was to keep them out of 
everyday builds and have them run only on demand by CI.


Benjamin


[0] http://dev.rectang.com/logs/codehaus/%23maven/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: svn commit: r683661 - /maven/release/trunk/maven-release-plugin/pom.xml

Posted by Vincent Siveton <vi...@gmail.com>.
Hi Benjamin,

2008/8/7  <be...@apache.org>:
> Author: bentmann
> Date: Thu Aug  7 10:41:00 2008
> New Revision: 683661
>
> URL: http://svn.apache.org/viewvc?rev=683661&view=rev
> Log:
> o Synced id and activation of integration-tests with core ITs
>
> Modified:
>    maven/release/trunk/maven-release-plugin/pom.xml
>
> Modified: maven/release/trunk/maven-release-plugin/pom.xml
> URL: http://svn.apache.org/viewvc/maven/release/trunk/maven-release-plugin/pom.xml?rev=683661&r1=683660&r2=683661&view=diff
> ==============================================================================
> --- maven/release/trunk/maven-release-plugin/pom.xml (original)
> +++ maven/release/trunk/maven-release-plugin/pom.xml Thu Aug  7 10:41:00 2008
> @@ -154,13 +154,7 @@
>   <profiles>
>     <!-- TODO: Enable once MINVOKER-43 is released and the staging works reliably
>     <profile>
> -      <id>integration-tests</id>
> -      <activation>
> -        <property>
> -          <name>maven.test.skip</name>
> -          <value>!true</value>
> -        </property>
> -      </activation>
> +      <id>run-its</id>
>       <build>

Removing this activation check, ITs will never be been called by
default. Is it really the wanted behaviour?
IMHO I think unit testing implies IT testing. Does I missed something?

Cheers,

Vincent



>         <plugins>
>           <plugin>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org