rivescript-coverage-plugin 1.1.0

Creator: railscoderz

Last updated:

Add to Cart

Description:

rivescriptcoverageplugin 1.1.0

A plug-in to measure code coverage in RiveScript with python

Features
The RiveScript Coverage Plugin is a plugin for Coverage.py which extends that package to measure code coverage for RiveScript files. It uses code analysis tools and debug hooks provided by the RiveScript interpreter to determine which lines are executable, and which have been executed. It supports CPython version 3.6 and above and plugs into Coverage.py version 5.0 and above. It requires RiveScript 1.14.9 or above.
Documentation is on Read The Docs. Code repository and issue tracker are on
GitHub.


Getting Started

Use pip to install:
$ pip install rivescript_coverage_plugin

Create or edit your .coveragerc file and add this:
[run]
plugins = rivescript_coverage_plugin

Run the coverage command or pytest with the --cov option and your RiveScript files will automatically be included in the coverage analysis and subsequent report generation.

Note that just like with Python coverage, RiveScript files that are not executed at all will not be part of your coverage report. To add them, use the source = . or other more specific source specifier in the [run] section of your .coveragerc file or the --source command line option. See the Coverage Documentation section “Specifying source files” for more information on this.


Documentation
The full documentation is at http://rivescript_coverage_plugin.rtfd.org.


History

0.1.0 (2020-01-16)

First release on PyPI.



0.2.0 (2020-01-17)

Fix Issues #1-#4



0.2.1 (2020-01-19)

Fix Issue #5



0.2.2 (2020-01-19)

Fix Issue #6



0.2.3 (2020-02-23)

Fix Issue #7, #8



1.0.0 (2020-02-28)

Add syntax highlighting, fixup some documentation issues, and fix issues #9-#14.



1.1.0 (2020-03-29)

Fix issues #15-#18 and #21.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.