RiveScript Coverage Plugin
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.
Metadata
Release files for rivescript-coverage-plugin 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rivescript_coverage_plugin-1.1.0.tar.gz | 24.9 kB | Without provenance | Details for rivescript_coverage_plugin-1.1.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rivescript_coverage_plugin-1.1.0-py3.7.egg | Legacy Egg format | - | - | Details for rivescript_coverage_plugin-1.1.0-py3.7.egg |
| rivescript_coverage_plugin-1.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for rivescript_coverage_plugin-1.1.0-py2.py3-none-any.whl |
Total release size: 65.5 kB
Release files / rivescript_coverage_plugin-1.1.0.tar.gz
| Download URL | rivescript_coverage_plugin-1.1.0.tar.gz |
|---|---|
| Size | 24.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e269778cffaa33700fe691bf31f4565409be43e40731895beeb9d50c3aa8dd1d
|
|
BLAKE2b-256 checksum How to use checksums |
38fa5442dcbe077b564d21fda2c0617214f40f340d67abf3338252fc1d462d09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3
|
Release files / rivescript_coverage_plugin-1.1.0-py3.7.egg
| Download URL | rivescript_coverage_plugin-1.1.0-py3.7.egg |
|---|---|
| Size | 19.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
54102b7a785d481df853f01ec958cebead308162c5847102616ff2aa0f89846a
|
|
BLAKE2b-256 checksum How to use checksums |
88a4b6d47f983b93ea116adf7bb51c066bd8eca9c6ab22c04a21761fee020bbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3
|
Release files / rivescript_coverage_plugin-1.1.0-py2.py3-none-any.whl
| Download URL | rivescript_coverage_plugin-1.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 21.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6be4bfa7272c37b222bf59db60eee76cb71df90e03da068fb3b463a18d451a33
|
|
BLAKE2b-256 checksum How to use checksums |
7a1e7f2cf5a3eee48716102d7b47b592dc18b04a6f6f34f9d58a439c93c2d8d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3
|
Security for rivescript-coverage-plugin 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.