aspose file tools
The moose likes Testing and the fly likes testcases Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Engineering » Testing
Bookmark "testcases" Watch "testcases" New topic


reena Mehta

Joined: Nov 17, 2010
Posts: 24

please tell me can i write Servlet test cases and Struts Test cases in same test Class
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 31549

You can't. Both of those frameworks require you to extend their class. You can extract common code into a helper class though so why does it matter if they are in the same test case?

[OCA 8 book] [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
I agree. Here's the link:
subject: testcases