Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

thonny-icontract-hypothesis

Continuous Integration - Ubuntu Continuous Integration - OSX Continuous Integration - Windows Test coverage PyPI - version PyPI - Python Version

thonny-icontract-hypothesis is a plug-in for Thonny IDE to automatically test Python code using icontract-hypothesis.

Installation

In Thonny

The plug-in can be easily installed via Thonny. Go to Tools menu and select Manage plug-ins...:

Tools -> Manage plug-ins...

Search for thonny-icontract-hypothesis on PyPI and click on the link to install it:

Search on PyPI

With pip

In your virtual environment, invoke:

pip install --user thonny-icontract-hypothesis

Usage

To check all the functions in the file with icontract-hypothesis, go to Tools menu and select Test the current file with icontract-hypothesis:

Tools->Test

All changes to the file will be saved prior to executing the tests. If you prefer, you can undo them.

The tests will be executed in the Thonny shell:

Shell running the tests

You can stop the tests with the “Stop” sign:

Stop the tests

Sometimes it is practical to test only a single function (e.g., if it takes too long to test the whole file). In that case, move the caret to the body of the function that you would like to test, go to Tools menu and select Test the function under the caret with icontract-hypothesis:

Tools->Test at

Contributing

Feature requests or bug reports are always very, very welcome!

Please see quickly if the issue does not already exist in the issue section and, if not, create a new issue.

You can also contribute in code. Please see contributing.rst.

Versioning

We follow a bit unusual semantic versioning schema:

  • X is the oldest supported version of icontract-hypothesis,

  • Y is the minor version (new or modified features), and

  • Z is the patch version (only bug fixes).

Release files for thonny-icontract-hypothesis 1.0.0a3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for thonny-icontract-hypothesis 1.0.0a3
File Size Uploaded
thonny-icontract-hypothesis-1.0.0a3.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for thonny-icontract-hypothesis 1.0.0a3
File Interpreter ABI Platform
thonny_icontract_hypothesis-1.0.0a3-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / thonny-icontract-hypothesis-1.0.0a3.tar.gz

Download URL thonny-icontract-hypothesis-1.0.0a3.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e4ba7c406f4320d57e9250d21e995322d79f536b54f0f912320719cf7e808181
BLAKE2b-256 checksum
How to use checksums
223dfd3ce6c37f5227255586011385bcfaab83bfd16317a26044e45b8bce808d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release files / thonny_icontract_hypothesis-1.0.0a3-py3-none-any.whl

Download URL thonny_icontract_hypothesis-1.0.0a3-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0cc07bcca8f10d472020c8285a8ab0b6be115aa0764124d06edefb3e7b44f32
BLAKE2b-256 checksum
How to use checksums
d8edc83f66c85b9237204a845232ba0ef565bfa79526aca8d59c05f53f772de6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page