It's not a secret anymore!
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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
author & internet detective

Joined: May 26, 2003
Posts: 32848

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Jar and War testing
It's not a secret anymore!