File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes  Ho do we select  Interesting values for a test case? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark " Ho do we select  Interesting values for a test case?" Watch " Ho do we select  Interesting values for a test case?" New topic
Author

Ho do we select Interesting values for a test case?

s chavala
Greenhorn

Joined: Aug 15, 2011
Posts: 1
Hi friends,
Right now i am doing dissertation... title is "Automatic Generation of Test cases with Junit Frame work rules". When the time of generating test cases how can we select valid/interesting values for the test case. Please give me your suggestions for this problem.
Thank you,
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30356
    
150

There are whole books written on this topic. In a nutshell, you need to identify classes of data that cover all the paths (and interesting business scenarios) and make sure you get all the boundaries as well.

You might also try I trial of Parasoft's JTest or the free CodePro solution to see what they generate.


[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
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38465
    
  23
. . . and welcome to the Ranch
 
Consider Paul's rocket mass heater.
 
subject: Ho do we select Interesting values for a test case?