Add @testName@ or @projectName@ to filters for integration-tests
----------------------------------------------------------------

                 Key: MINVOKER-121
                 URL: https://jira.codehaus.org/browse/MINVOKER-121
             Project: Maven 2.x Invoker Plugin
          Issue Type: New Feature
    Affects Versions: 1.5
            Reporter: Lars Corneliussen


It should be as easy as possible to create integration tests. Having @testName@ 
filtered in to the pom and hooks, it would allow me to respect DRY.

Then the only place, where the testname is stated would be the folder where the 
pom is placed.

Currently i can already specify -Dinvoker.test=<dir>,<dir>; so the concept is 
already there.

For Maven-Plugins, my base ITS-pom would the look like this:

{code:title=src/it/IT001_ZeroConfig/pom.xml}
<project ... >
  <modelVersion>4.0.0</modelVersion>
  <groupId>@project.groupId@.@project.artifactId@-its</groupId>
  <artifactId>@testName@</artifactId>
  <version>@project.version@</version>
  <packaging>pom</packaging>
</project>
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to