Previous Topic Next topic Print topic


Glossary of Terms

The Micro Focus Unit Testing Framework uses the following elements:

mfunit.cpy
The call prototyping copybook used for the entry points to your test setups, test cases, and test teardowns.
mfunit_prototypes.cpy
The call prototyping copybook used for the calls to the test assertion library routines (MFU_ASSERT_FAIL, MFUMSG, MFU_ASSERT_FAIL_Z, and MFUMSGZ).
Test assertions
The true/false testing logic within a test case. This is usually followed by a call to one of the library routines that enables you to record any outcome within the test results.
Test case
The code that forms a single test.
Test fixture
All requisites to run a test:
  • The test case setup
  • The test case
  • The test case teardown
Note: The setup and tear-down elements are optional.
Test results formatter
The generation of results after or during the test run. Within the Micro Focus Unit Testing Framework, this can be configured using additional parameters to the test runner; see Test Runner Syntax Options.
Test runner
The name of the executable that will run the test suite, and then produce the test results. It can be one of:
  • mfurun (Windows) - for use with procedural COBOL
  • mfurunil (Windows) - for use with .NET COBOL
  • mfurunj (Windows) - for use with JVM COBOL
  • cobmfurun32[_t](UNIX) - for use with procedural COBOL
  • cobmfurun64[_t] (UNIX) - for use with procedural COBOL
  • cobmfurunj (UNIX) - for use with JVM COBOL
Test suite
A set of test cases.
Previous Topic Next topic Print topic