Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Testing and the fly likes Automatic Test generation for Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Automatic Test generation for Java" Watch "Automatic Test generation for Java" New topic
Author

Automatic Test generation for Java

Ranganath Junpal
Ranch Hand

Joined: Aug 31, 2006
Posts: 76
Hi all,

Say i have a huge applicaiton. The problem is as follows :-
1) unfortunately there is no unit test cases ie junit written.
2) Now if some part of the project is changed. developer gonna check the whole application to know if everything it working and none is broken.
3) So i was wondering if there is any tool which can be used to generate the test cases so that when i run after some changes in the application i get to know that my code has broken or if entire application is working fine.

The application i am talking about is not an web app or j2ee app. its an corba ,swing app, with use of some telnet and snmp as well.

thank you
-R
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
What you are looking for are characterization tests - tests that don't test that the application is working correctly, but just that it is working as it used to. See http://en.wikipedia.org/wiki/Characterization_Test for more information - including a link to a for JUnit.
[ May 02, 2008: Message edited by: Ilja Preuss ]

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
wood burning stoves
 
subject: Automatic Test generation for Java
 
Similar Threads
FarmWarDeployer
problem in connectionpooling
How to write unit testcase for distributed app like RMI
EAR Automated testing
Has A relationship