Dealing with Errors in Your Tests

Using the following test runner options, you can determine the action when an error is encountered whilst running each test case within the test suite:

As with normal COBOL applications that encounter fatal run-time errors, each run-time test failure is written to a debug log file. To ensure this information is captured if you encounter multiple failures, each error generates a <test case-name>-mfdebug.log in the current directory.

In the case of procedural .NET COBOL, to debug a testcase, you need to embed the CBL_DEBUGBREAK library routine in it in order to start the just-in-time debugger.

Procedural .NET COBOL

To debug a test case, you need to embed the CBL_DEBUGBREAK library routine in it in order to start the just-in-time debugger.

Restriction:
  • -jit:debug and -jit:core are not supported with procedural .NET test cases