Integrate the ability to execute unit test and test cases against a Ca Gen load module via the trace facility?
Execute one or more test cases
- For each test execution
- provide data for execution (import views, commands, etc)
- Match against expected results (export views, commands, exit states etc)
- Results returned in a reportable format (e.g. xUNIT style format)
- Test runs can be executed via external tool (Guardien, Jenkins, Azure DevOps, Bamboo etc)
Provide the ability to provide mock results based on a matched test case (see above) for one or more statements during the test execution.
E.g. Each statement could be correctly identified from the action block name and statement number, and for a particular statement number a set of mock results could be provided. During the test execution, that statement could be skipped and the mock data\results could be provided.
This would include Database calls, action block calls, etc.
The Toolset could have a wizard to help generate the mock data (e.g. Open action block, select statement to mock, and you will be provided a list of view(s) & attributes (commands & Exit states) that can be changed by that statement.