Apama 10.3 | Apama Documentation | Deploying and Managing Apama Applications | Correlator Utilities Reference | Generating code coverage information about EPL files | Using EPL code coverage with PySys tests
Using EPL code coverage with PySys tests
The Apama installation includes the Python-based PySys test framework and some extension modules for Apama components.
The Apama extensions to the PySys test framework can enable code coverage recording, and automatically run a coverage report from the .eplcoverage files at the end of test execution, which will help users to create better test cases and to find code paths in their EPL applications that do not have adequate test coverage. To use this feature, start your tests with -X eplcoverage=true, for example:
pysys run -X eplcoverage=true
For an example, see README.txt in software_ag_install_dir/Apama/samples/pysys.
When recording coverage information, it is important to run PySys without the --purge argument. Otherwise, the .eplcoverage files will be automatically removed.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.