Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

testing with junitEE

 
shlomy bentulilah
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Can someone post his opinion about JunitEE ?
I want to test my work based on struts 1.3 meaning I want to test the UI with its error-handling messages (based on incorrect inputs) and the EJB parts (based on reading and writing from DataBase)...
Thanks.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34084
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shlomy,
My personal preference is to test EJBs thru external (remote) calls and the web through a browser based tool like Selenium. (And of course, everything through unit tests.)

JUnitEE is somewhere in between these two and doesn't meet a need I have.
 
shlomy bentulilah
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your answer ...

I looked for Selenium and it really and it seems O.K although it does NOT support explorer 7 (?) yet.

My question is : what do you mean by "to test EJBs thru external (remote) calls"..? can you give me a simple example or direct me to a URL ?

Thanks.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could also take a look at the online extra of my book. It's a whole book chapter on writing tests for EJB components.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic