You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Srepfler Srgjan <sr...@lnksystem.com> on 2005/12/13 19:24:48 UTC

[m2] TestNG and webapp testing

Hi,
I've read this blog 
http://blog.hibernate.org/cgi-bin/blosxom.cgi/Christian%20Bauer/java/ejb3withtestng.html 
and I found it very interesting. Is there a plugin for TestNG for 
maven2? What about Cactus?
What is the approach to developing in-container tests? I read somewhere 
that Cargo has some support but I don't understand how is it done (any 
example projects?), and also what's the status of Cargo form m2 and 
what's the compatibility status on JBoss 4.0.3?
Thanks


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


Re: [m2] TestNG and webapp testing

Posted by Kaare Nilsen <ka...@gmail.com>.
Will do.. I have the code at home.. will send it to you tonight.

On 14/12/05, Wim Deblauwe <wi...@gmail.com> wrote:
> I'm interested in the code. Could you send it to me? I'm courious on how you
> done it.
>
> regards,
>
> Wim
>
> 2005/12/14, Kaare Nilsen <ka...@gmail.com>:
> >
> > I tried to make a testNG plugin for m2, but got it only 80% finished.
> > It was succesfully running tests with commons attributes (1.4 support
> > of testng) but did not manage to get it to run 1.5 annotation tests.
> > And since i have seen better codebases than testNG in my life (and
> > this was my second time around trying to make testNG work for me,
> > first of was a bug in the eclipseplugin) I abondoned my try to make
> > the plugin finished and went back to good old junit. but hey if anyone
> > want a 80% code to continue to work on, just send me a mail, and i
> > would be glad to share my code.
> >
> > On 14/12/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > > I don't think there is a plugin for TestNG yet sadly enough. There is a
> > > TestNG plugin for Maven 1, but I did not get it working properly, you
> > might
> > > have more luck.
> > >
> > > regards,
> > >
> > > Wim
> > >
> > > 2005/12/13, Srepfler Srgjan <sr...@lnksystem.com>:
> > > >
> > > > Hi,
> > > > I've read this blog
> > > >
> > > >
> > http://blog.hibernate.org/cgi-bin/blosxom.cgi/Christian%20Bauer/java/ejb3withtestng.html
> > > > and I found it very interesting. Is there a plugin for TestNG for
> > > > maven2? What about Cactus?
> > > > What is the approach to developing in-container tests? I read
> > somewhere
> > > > that Cargo has some support but I don't understand how is it done (any
> > > > example projects?), and also what's the status of Cargo form m2 and
> > > > what's the compatibility status on JBoss 4.0.3?
> > > > Thanks
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>

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


Re: [m2] TestNG and webapp testing

Posted by Wim Deblauwe <wi...@gmail.com>.
I'm interested in the code. Could you send it to me? I'm courious on how you
done it.

regards,

Wim

2005/12/14, Kaare Nilsen <ka...@gmail.com>:
>
> I tried to make a testNG plugin for m2, but got it only 80% finished.
> It was succesfully running tests with commons attributes (1.4 support
> of testng) but did not manage to get it to run 1.5 annotation tests.
> And since i have seen better codebases than testNG in my life (and
> this was my second time around trying to make testNG work for me,
> first of was a bug in the eclipseplugin) I abondoned my try to make
> the plugin finished and went back to good old junit. but hey if anyone
> want a 80% code to continue to work on, just send me a mail, and i
> would be glad to share my code.
>
> On 14/12/05, Wim Deblauwe <wi...@gmail.com> wrote:
> > I don't think there is a plugin for TestNG yet sadly enough. There is a
> > TestNG plugin for Maven 1, but I did not get it working properly, you
> might
> > have more luck.
> >
> > regards,
> >
> > Wim
> >
> > 2005/12/13, Srepfler Srgjan <sr...@lnksystem.com>:
> > >
> > > Hi,
> > > I've read this blog
> > >
> > >
> http://blog.hibernate.org/cgi-bin/blosxom.cgi/Christian%20Bauer/java/ejb3withtestng.html
> > > and I found it very interesting. Is there a plugin for TestNG for
> > > maven2? What about Cactus?
> > > What is the approach to developing in-container tests? I read
> somewhere
> > > that Cargo has some support but I don't understand how is it done (any
> > > example projects?), and also what's the status of Cargo form m2 and
> > > what's the compatibility status on JBoss 4.0.3?
> > > Thanks
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [m2] TestNG and webapp testing

Posted by Kaare Nilsen <ka...@gmail.com>.
I tried to make a testNG plugin for m2, but got it only 80% finished.
It was succesfully running tests with commons attributes (1.4 support
of testng) but did not manage to get it to run 1.5 annotation tests.
And since i have seen better codebases than testNG in my life (and
this was my second time around trying to make testNG work for me,
first of was a bug in the eclipseplugin) I abondoned my try to make
the plugin finished and went back to good old junit. but hey if anyone
want a 80% code to continue to work on, just send me a mail, and i
would be glad to share my code.

On 14/12/05, Wim Deblauwe <wi...@gmail.com> wrote:
> I don't think there is a plugin for TestNG yet sadly enough. There is a
> TestNG plugin for Maven 1, but I did not get it working properly, you might
> have more luck.
>
> regards,
>
> Wim
>
> 2005/12/13, Srepfler Srgjan <sr...@lnksystem.com>:
> >
> > Hi,
> > I've read this blog
> >
> > http://blog.hibernate.org/cgi-bin/blosxom.cgi/Christian%20Bauer/java/ejb3withtestng.html
> > and I found it very interesting. Is there a plugin for TestNG for
> > maven2? What about Cactus?
> > What is the approach to developing in-container tests? I read somewhere
> > that Cargo has some support but I don't understand how is it done (any
> > example projects?), and also what's the status of Cargo form m2 and
> > what's the compatibility status on JBoss 4.0.3?
> > Thanks
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>

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


Re: [m2] TestNG and webapp testing

Posted by Wim Deblauwe <wi...@gmail.com>.
I don't think there is a plugin for TestNG yet sadly enough. There is a
TestNG plugin for Maven 1, but I did not get it working properly, you might
have more luck.

regards,

Wim

2005/12/13, Srepfler Srgjan <sr...@lnksystem.com>:
>
> Hi,
> I've read this blog
>
> http://blog.hibernate.org/cgi-bin/blosxom.cgi/Christian%20Bauer/java/ejb3withtestng.html
> and I found it very interesting. Is there a plugin for TestNG for
> maven2? What about Cactus?
> What is the approach to developing in-container tests? I read somewhere
> that Cargo has some support but I don't understand how is it done (any
> example projects?), and also what's the status of Cargo form m2 and
> what's the compatibility status on JBoss 4.0.3?
> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

RE: [m2] TestNG and webapp testing

Posted by Vincent Massol <vm...@pivolis.com>.
Hi,

> -----Original Message-----
> From: Srepfler Srgjan [mailto:srgjan.srepfler@lnksystem.com]
> Sent: mardi 13 décembre 2005 19:25
> To: Maven Users List
> Subject: [m2] TestNG and webapp testing
> 
> Hi,
> I've read this blog
> http://blog.hibernate.org/cgi-
> bin/blosxom.cgi/Christian%20Bauer/java/ejb3withtestng.html
> and I found it very interesting. Is there a plugin for TestNG for
> maven2? What about Cactus?
> What is the approach to developing in-container tests? I read somewhere
> that Cargo has some support but I don't understand how is it done (any
> example projects?), and also what's the status of Cargo form m2 and
> what's the compatibility status on JBoss 4.0.3?

Lots of questions! :-)

I can answer for Cargo:

* Cargo is for starting/stopping containers, configuring them and deploying
to them. See http://cargo.codehaus.org

* There's a m2 plugin for Cargo. Read
http://cargo.codehaus.org/Maven2+plugin. There are examples listed and
there's a link to several examples located in the Cargo's SVN. 

* The m2 plugin has not been released yet but the link above explains how to
use it.

* Cargo should support JBoss 4.x. The "should" is because JBoss support is
new in Cargo 0.7 and has not fully tested yet. It would be good to know if
it's working for you so that we can correct before we do the 0.7 release.

* All feedback/questions about cargo should go to the cargo mailing lists.
We are also frequently on irc. Check http://cargo.codehaus.org for details.

Thanks
-Vincent


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