aspose file tools*
The moose likes Testing and the fly likes Unit Testing tool -> Struts + Hiberante Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Unit Testing tool -> Struts + Hiberante " Watch "Unit Testing tool -> Struts + Hiberante " New topic
Author

Unit Testing tool -> Struts + Hiberante

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
I am using Struts + Hibernate. Which unit testing is the best option ?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Kri,
It depends on how you define "unit test." To test the logic without the server, you can test the classes using JUnit.

To test the web application end to end, you can use JWebUnit.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
Hi Jeanne, I am going to test the application with server for unit testing.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Then it's actually not unit testing, I'd say - but who cares....


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Originally posted by Ilja Preuss:
Then it's actually not unit testing, I'd say - but who cares....

That's why I said it depends on the definition of "unit test"

Kri,
JWebUnit or Cactus can be used to test the actual webpages. JWebUnit appears to be a little friendlier to use, but either is ok.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unit Testing tool -> Struts + Hiberante