Delta debugging testcase 02

From CDOT Wiki
Revision as of 19:08, 13 December 2006 by Ankuswan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Name

Sudoku Test

Description

This test case compiles and runs the Sudoku program written in C++, made by Richard Chu for the Design Patterns class. The purpose of this test is to demonstrate how the algorithm build system can be customized to use other compilers or build systems in the host environment.

Repository

The test uses svn://cdot.senecac.on.ca/deltatest.

Components

SudokuBuild.pl

  • Build Script.
  • User should modify the shell call here to reflect the C++ compiler in the system.
  • If the compilation fails, a.out file will not be generated.

SudokuTestCase1.pm

  • Test Module.
  • Tests the a.out output file produced by UNIX C++ compiler.

deltadebugsudoku.pl

  • Delta Debugging Script.
  • Runs the Delta Debugging Algorithm to detect failed test (in this case, compilation error) and perform fixes.

testsudokubuild.pl

  • Unit test, runs the build.

testsudokutest.pl

  • Unit test, runs the test.

Test Method