| Author |
J2EE Test Frameworks in 2011
|
Patrick Wilson
Greenhorn
Joined: Nov 18, 2011
Posts: 2
|
|
Hello all,
With Cactus retired and JunitEE support seemingly ending, what are folks using for a test framework? I have spent considerable time searching and I'm not finding quite the right thing. JUnitEE for JUnit 4.x would do the job. I see something on Source Forge but I have yet to find binary downloads. Something more capable (better data organization, etc.) would be even better
Thanks all.
|
 |
Hebert Coelho
Ranch Hand
Joined: Jul 14, 2010
Posts: 754
|
|
Hello Patric, welcome to JavaRanch.
I use JUnit with Cobertura.
|
[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
|
 |
Patrick Wilson
Greenhorn
Joined: Nov 18, 2011
Posts: 2
|
|
Thanks for the response Hebert.
I probably should have been a bit more clear in my original post. What I am looking for is a testing framework that will organize and execute functional/integration level tests in a J2EE environment. JUnit doesn't quite do the job because it is not container managed. That's where JUnitEE came in. It pretty much slapped a simple servlet interface on top of JUnit. Worked well enough except it is old and does not support JUnit 4.x.
Cobertura is a code coverage tool. Great for what it does but not quite what I am looking for (J2EE server side test tool).
Appreciate the response.
|
 |
Hebert Coelho
Ranch Hand
Joined: Jul 14, 2010
Posts: 754
|
|
I am using JUnit and Covering even my JSF ManagedBeans.
Of course that the injections will not work so I pass the (facades, DAOs) with constructors.
If you want, you can use JMeter. It will test you app when you run it in a containner.
|
 |
 |
|
|
subject: J2EE Test Frameworks in 2011
|
|
|