Re: jvm and test plugin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: jvm and test plugin

Christopher Lim
Hi Brett,

> This is resolved in Maven 1.1 (not yet released), and you can use
> forkmode="once" which forks once for all tests.

I'd like to try the "forkmode" functionality of Maven 1.1.
Could you kindly point me to the right svn path that contains "forkmode"

Tried the URL below but it doesn't contain forkmode.
http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/test/plugin.jelly

Thanks,
Chris



On 4/28/05, Brett Porter <[hidden email]> wrote:

> In Maven 1.0.2, you have maven.junit.fork = on or off. The first one
> does it every time, the latter never does it - using the Maven JVM
> which can sometimes cause test failures, in particular with XML
> parsers.
>
> This is resolved in Maven 1.1 (not yet released), and you can use
> forkmode="once" which forks once for all tests.
>
> - Brett
>
> On 4/27/05, Jan Rudert <[hidden email]> wrote:
> > Hi,
> >
> > do I understand right, that Maven-test-plugin starts and shuts down a jvm
> > for each test? how can i change this to run all tests in a single jvm
> > consecutively?
> >
> > thanks
> > jan
> >
> > ............................................................................
> > Jan Rudert                 neofonie GmbH            Tel.:+49(0)30 246 27 325
> > Softwareentwickler         Robert-Koch-Platz 4      Fax.:+49(0)30 246 27 120
> > [hidden email]           10115 Berlin
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: jvm and test plugin

Brett Porter
It hasn't been added to the test plugin yet.

- Brett

On 5/14/05, Christopher Lim <[hidden email]> wrote:

> Hi Brett,
>
> > This is resolved in Maven 1.1 (not yet released), and you can use
> > forkmode="once" which forks once for all tests.
>
> I'd like to try the "forkmode" functionality of Maven 1.1.
> Could you kindly point me to the right svn path that contains "forkmode"
>
> Tried the URL below but it doesn't contain forkmode.
> http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/test/plugin.jelly
>
> Thanks,
> Chris
>
>
> On 4/28/05, Brett Porter <[hidden email]> wrote:
> > In Maven 1.0.2, you have maven.junit.fork = on or off. The first one
> > does it every time, the latter never does it - using the Maven JVM
> > which can sometimes cause test failures, in particular with XML
> > parsers.
> >
> > This is resolved in Maven 1.1 (not yet released), and you can use
> > forkmode="once" which forks once for all tests.
> >
> > - Brett
> >
> > On 4/27/05, Jan Rudert <[hidden email]> wrote:
> > > Hi,
> > >
> > > do I understand right, that Maven-test-plugin starts and shuts down a jvm
> > > for each test? how can i change this to run all tests in a single jvm
> > > consecutively?
> > >
> > > thanks
> > > jan
> > >
> > > ............................................................................
> > > Jan Rudert                 neofonie GmbH            Tel.:+49(0)30 246 27 325
> > > Softwareentwickler         Robert-Koch-Platz 4      Fax.:+49(0)30 246 27 120
> > > [hidden email]           10115 Berlin
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [hidden email]
> > > For additional commands, e-mail: [hidden email]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]