Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Ho do we select Interesting values for a test case?  RSS feed

 
s chavala
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Sheriff
Posts: 36406
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Campbell Ritchie
Sheriff
Posts: 53769
127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and welcome to the Ranch
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!