[ 
http://issues.ops4j.org/browse/PAXEXAM-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12106#action_12106
 ] 

Toni Menzel commented on PAXEXAM-32:
------------------------------------

What is currently not covered by this kind of onfiguration is the pax exam 
built in mock framework support (currently its EasyMock, JMock, Mockito).
As of pax runner has neat profile support, we could think of providing pax exam 
runner profiles that incorporate pax exam own components , mock framework libs 
and others. 
Any objections ?

> Maven Pax Exam Plugin: goal: generate-paxexam-config
> ----------------------------------------------------
>
>                 Key: PAXEXAM-32
>                 URL: http://issues.ops4j.org/browse/PAXEXAM-32
>             Project: Pax Exam
>          Issue Type: New Feature
>            Reporter: Toni Menzel
>            Assignee: Toni Menzel
>             Fix For: 0.4.0
>
>
> plugin can be kicked off by
>  <plugin>
>         <groupId>org.ops4j.pax.exam</groupId>
>         <artifactId>maven-paxexam-plugin</artifactId>
>         <executions>
>           <execution>
>             <id>generate-paxexam-config</id>
>             <goals>
>               <goal>generate-paxexam-config</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> And will generate a paxexam-config.properties file that contains provisioning 
> properties, configuration settings and so on.
> Because defaultcontainer=onlycontainer=paxrunner i guess we directly support 
> paxrunner options  ??
> In the end, users that use this plugin can write tests like this:
> @RunWith(MavenConfiguredJUnit4TestRunner.class)
> class MyTest {
> @Test
> public void MyTest() {
> }
> }
> While the MavenConfiguredJUnit4TestRunner is just a shortcut for
> @Configuration
> private Option[] configure() {
> return new Option[] { useMavenConfiguration() };
> }

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

       

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to