designing a test tool
measuring the adequacy of test cases
for measuring the adequacy we are needed to calculate the percentage of statement coverage.
the higher the coverage the more adequate will be the test case. here i m needed to generate the test cases automatically and insert those test cases in the program &test for adequacy using modified condition /decision coverage criteria.
please help me in this regard
Re: designing a test tool
I don't know if testing your system requires a large set of test parameters (requiring many combinations and variations of test input). If it does, take a look at this article "Orthogonally Speaking." It describes how to derive a sound set of test parameters, using Orthogonal Arrays, see http://www.stickyminds.com/sitewide....nction=edetail
(If the link has moved, simply go to www.stickyminds.com and search on "Orthogonally Speaking.")
Once you have derived an adequate set of test cases, building a tool that feeds these test cases through to execute code coverage can range from writing a simple batch file to a complex C++ application. The appropriate language with which to build the tool really depends on your circumstances, and the target of the test. For example, if the target of your test is to thoroughly exercise a complex C++ calculation DLL using some or all of its possible inputs, a suitable solution may be another C++ program that calls directly to the DLL, supplying the necessary combinations of test values you have derived using orthogonal arrays (or any other testing technique) and creating a comparison tool for examining the results.
Author (with Rashka, Paul)of book "Automated Software Testing", July ‘99
Author (with Rashka, McDiarmid) of book "Quality Web Systems: Performance, Security & Usability", August ‘01
Author of book "Effective Software Testing: 50 Specific Ways to Improve Software Testing" (Addison Wesley, Fall/Winter 2002)