use CUnit to write test case program
-
Compile and Install Modify cunit.sh to set the directory to install CUnit. Run cunit.sh to compile and install CUnit. If an error occurred, check the automake tool.
-
Examples There are some examples for using different mode of CUnit. Before compile and running each example, run cunit_env.sh first. Then, run #make in each example to compile it.
example 1:AutomatedTest example 2: BasicTest example 3: ConsleTest