List Info

Thread: Test fwk for JBoss Cache




Test fwk for JBoss Cache
user name
2007-02-08 11:03:04
Guys,

This is about moving off JUnit 3.x in future versions of
JBoss Cache  
(>= 2.1.0).  Bela mentioned wanting to do something
similar for  
JGroups as well - may be a good idea to move in the same
direction.  

The question is:  JUnit 4 or TestNG?  Has anyone got options
on  
these?  From what I understand (and don't forget I've not
used TestNG  
much)

JUnit 4:
+ easy migration
+ good IDE support
- no support for 'threaded tests'

TestNG:
+ Concurrent testing (being able to specify threads and
loops via  
annotations on a per-test basis)

Anyone else have any other thoughts or opinions?

Cheers,
--
Manik Surtani

Lead, JBoss Cache
JBoss, a division of Red Hat

Email: manikjboss.org
Telephone: +44 7786 702 706
MSN: maniksurtani.org
Yahoo/AIM/Skype: maniksurtani



_______________________________________________
jbosscache-dev mailing list
jbosscache-devlists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosscache-dev

Re: Test fwk for JBoss Cache
user name
2007-02-08 13:57:18
This guy from Sun recommend TestNG:
https://glassfish.dev.java.net/quality/testing-ju
nit-testng.pdf

Do we need such a rich set of features from TestNG?
Can we hook up TestNG up to CC?



On Thu, 2007-02-08 at 17:03 +0000, Manik Surtani wrote:
> Guys,
> 
> This is about moving off JUnit 3.x in future versions
of JBoss Cache  
> (>= 2.1.0).  Bela mentioned wanting to do something
similar for  
> JGroups as well - may be a good idea to move in the
same direction.  
> 
> The question is:  JUnit 4 or TestNG?  Has anyone got
options on  
> these?  From what I understand (and don't forget I've
not used TestNG  
> much)
> 
> JUnit 4:
> + easy migration
> + good IDE support
> - no support for 'threaded tests'
> 
> TestNG:
> + Concurrent testing (being able to specify threads and
loops via  
> annotations on a per-test basis)
> 
> Anyone else have any other thoughts or opinions?
> 
> Cheers,
> --
> Manik Surtani
> 
> Lead, JBoss Cache
> JBoss, a division of Red Hat
> 
> Email: manikjboss.org
> Telephone: +44 7786 702 706
> MSN: maniksurtani.org
> Yahoo/AIM/Skype: maniksurtani
> 
> 
> 
> _______________________________________________
> jbosscache-dev mailing list
> jbosscache-devlists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosscache-dev
-- 
Vladimir Blagojevic     
Software Developer
JGroups, JBoss Cache
JBoss, a division of Red Hat
+1416-500-8144

_______________________________________________
jbosscache-dev mailing list
jbosscache-devlists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosscache-dev

Re: Test fwk for JBoss Cache
country flaguser name
United States
2007-02-17 10:50:56
Manik Surtani wrote:
> Guys,
>
> This is about moving off JUnit 3.x in future versions
of JBoss Cache 
> (>= 2.1.0).  Bela mentioned wanting to do something
similar for 
> JGroups as well - may be a good idea to move in the
same direction.  
>
> The question is:  JUnit 4 or TestNG?  Has anyone got
options on 
> these?  From what I understand (and don't forget I've
not used TestNG 
> much)
>
> JUnit 4:
> + easy migration
> + good IDE support
> - no support for 'threaded tests'
>
> TestNG:
> + Concurrent testing (being able to specify threads and
loops via 
> annotations on a per-test basis)
>
> Anyone else have any other thoughts or opinions?
Its not a requirement but I would like to see more support
for 
performance metric unit tests.  I coded some small
performance tests for 
pojo collections but never checked them in as I could only
visually 
verify if performance was good or not based on logged
performance 
measurements.  I'm not sure how this would really work in a
unit test 
but if someone smarter has figured it out, it would be nice
to use.  

This would catch problems that you normally don't see unless
running 
under load.  Anyone know if the TestNG concurrent testing
supports help 
in this area?
>
> Cheers,
> -- 
> Manik Surtani
>
> Lead, JBoss Cache
> JBoss, a division of Red Hat
>
> Email: manikjboss.org
> Telephone: +44 7786 702 706
> MSN: maniksurtani.org
> Yahoo/AIM/Skype: maniksurtani
>
>
>
> _______________________________________________
> jbosscache-dev mailing list
> jbosscache-devlists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosscache-dev
>

_______________________________________________
jbosscache-dev mailing list
jbosscache-devlists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosscache-dev

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )