You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Barry Kaplan (JIRA)" <ji...@codehaus.org> on 2005/10/30 18:56:34 UTC

[jira] Commented: (MNG-591) Integration tests lifecycle

    [ http://jira.codehaus.org/browse/MNG-591?page=comments#action_49625 ] 

Barry Kaplan commented on MNG-591:
----------------------------------

After reading all this, I'm a bit confused. What is the recommended approach in maven2 v1.x for handling different test types? 

I pretty much need test types to exist in different directories so I can run them independently in eclipse. I don't want to use packages to segregate the tests, because I need the unit tests to exist the same directory as the CUT. Is seperate projects the only solution for maven2 v1.x? And how does this relate to http://jira.codehaus.org/browse/SUREFIRE-7?


> Integration tests lifecycle
> ---------------------------
>
>          Key: MNG-591
>          URL: http://jira.codehaus.org/browse/MNG-591
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-core
>     Reporter: Kenney Westerhof
>     Assignee: Brett Porter
>     Priority: Blocker
>      Fix For: 2.1

>
> Original Estimate: 8 hours
>        Time Spent: 45 minutes
>         Remaining: 7 hours, 15 minutes
>
> I'm trying to do an integration test that depends on a war/ear to be deployed.
> What i'm missing is:
> - integration-test-compile stage and/or:
> - a way to specify an integrationTestSourceDirectory or multiple testSourceDirectories in the pom
> I can't put the test sources in src/test/java because then surefire will run them in the test stage, when
> there's no artifact to deploy yet. 
> [Btw, I'm doing this while creating a cactus plugin, for the moment using cargo in the TestSuite itself to deploy.]
> The idea is that the integration test sources go in src/itest/*; that there be a integration-test-compile,
> integration-test-package and/or integration-test-appdeploy[or something] and that surefire
> is also bound to integration-test.
> Maybe something can be done using the src/test/project/some-project/.... approach seen in
> maven-javadoc-plugin, maven-site-plugin and maven-eclipse-plugin (i'd like to see some of that
> standardized anyway to allow plugin testing generally - which can also be seen as integration testing).
> Thoughts, comments, approaches?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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