[ 
https://jira.codehaus.org/browse/MPLUGINTESTING-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy reassigned MPLUGINTESTING-28:
------------------------------------------

    Assignee: Olivier Lamy
    
> Rule which just embeds an AbstractMojoTestCase so Junit4 may be used
> --------------------------------------------------------------------
>
>                 Key: MPLUGINTESTING-28
>                 URL: https://jira.codehaus.org/browse/MPLUGINTESTING-28
>             Project: Maven 2.x Plugin Testing
>          Issue Type: New Feature
>          Components: plugin-testing-harness
>    Affects Versions: 2.1
>         Environment: Apache Maven 3.1.0-alpha-1 
> (c726cdd3a9ad5c3a419e1171f8c1925e336ead18; 2013-06-01 15:03:28+0200)
> Maven home: /Users/mifr/lib/apache-maven-3.1.0-alpha-1
> Java version: 1.7.0_21, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "mac os x", version: "10.8.3", arch: "x86_64", family: "mac"
> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 
> 14:51:28+0100)
> Maven home: /Users/mifr/lib/apache-maven-3.0.5
> Java version: 1.7.0_21, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "mac os x", version: "10.8.3", arch: "x86_64", family: "mac"
>            Reporter: Mirko Friedenhagen
>            Assignee: Olivier Lamy
>         Attachments: plugin-testing-via-junit-rule.diff
>
>
> To easily use Junit-4 features (Assumptions, Ignores etc.) and to be able to 
> extend from own testcases it would be feasible to have a MojoRule.
> The attached diff will add this rule, a corresponding Unit-Test as well 
> updated documentation. Additionally I updated the parent-version of the 
> harness as well as the compiler-plugin and site-plugin, needed anyway for 
> Maven-3.1.
> Runs successfully at my computer with Maven-3.0.5 and Maven-3.1.0-alpha1 :-).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to