File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2EE Test Frameworks in 2011

 
Patrick Wilson
Greenhorn
Posts: 2
C++ Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 754
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Patric, welcome to JavaRanch.

I use JUnit with Cobertura.
 
Patrick Wilson
Greenhorn
Posts: 2
C++ Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 754
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic