• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

J2EE Test Frameworks in 2011

 
Greenhorn
Posts: 2
C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Patric, welcome to JavaRanch.

I use JUnit with Cobertura.
 
Patrick Wilson
Greenhorn
Posts: 2
C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic