File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes Jar and War testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Jar and War testing" Watch "Jar and War testing" New topic

Jar and War testing

kumar shailove

Joined: Aug 05, 2011
Posts: 1
We have a testing situation here. We have some code base, which would be delivered both as a jar and a war. What would be the best way to test this without duplicating the testing efforts.
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 29219

There isn't enough information here to say much. It seems like you'd test the main logic in one and the integration/interface in the other. After all, the war would contain the jar so much of the code is the same.

[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
It is sorta covered in the JavaRanch Style Guide.
subject: Jar and War testing
Similar Threads
Packaging an EAR
Regarding WAR file
Tag files
Is Agile Testing for a non-Agile Team?
Accessing common jar files in EAR