Open main menu

CDOT Wiki β

Changes

Delta debugging testcase 02

633 bytes added, 23:05, 13 December 2006
Test Method
([[Delta_debugging_testcases|Back to Delta Debugging Test Cases]])
 
== Name ==
'''SudokuBuild.pl'''
* Build Script.
* User should modify It builds the shell call here to reflect the C++ compiler in the systemprogram, creating an '''a.exe''' file if compilation is successful.* If the compilation fails, '''a.outexe''' file will not be generated.
'''SudokuTestCase1.pm'''
* The Test Module.* Tests Wrapper around the real test case ('''aSudokuTest.outcpp''' output file produced by UNIX C++ compilerlocated in the Sudoku folder). It runs the test case and reports the results of the test (pass or fail). '''SudokuTest.cpp'''* The actual test case.
'''deltadebugsudoku.pl'''
* Delta Debugging Script.
* Runs the Delta Debugging Algorithm to detect the failed test (in this case, compilation errorwrong output from a function) and perform fixesattempt to find the failure inducing changes.
'''testsudokubuild.pl'''* Unit test, runs the build.== Test Method ==
* Download the source code '''from the repository!'testsudokutest.pl''. This test can't be run from the zipped source code.<pre> svn checkout svn://cdot.senecac.on.ca/deltatest </pre>* Unit test, runs run deltadebugsudoku.pl perl deltadebugsudoku.pl* It should be able to find the last known good revision (revision 4)* Fails on finding the minimal set of failure inducing directories and files. The reason for this is still being investigated. The suspected reason is inconsistent or unreliable testcase== Test Method ==
1
edit