CUnit ASSERT statements.

  • Priya Chandran
    Priya Chandran

    Hello.. I'm using CUnit to run Unit tests on the code for a software we
    developed called GenieDB. Its a distributed database system written largely in
    C. While running CUnit tests I encountered two problems:

    • My CUnit test results are

    --Run Summary:

    Type Total Ran Passed Failed

    asserts 49531 49531 49529 2

    There are some asserts that are not executed as they are dependent on the
    tests that failed. Is there a way to include these tests that did not run in
    the summary report.

    • Also is there a way to specify test dependencies in the test suites. Such as Test B can run only on the successful completion of Test A.