0 purchases
thonnycrosshair 0.0.1
Thonny-crosshair is a plug-in for Thonny IDE to automatically test
Python code using CrossHair.
Installation
In Thonny
The plug-in can be easily installed via Thonny.
Go to Tools menu and select Manage plug-ins...:
TODO: screenshot
Search for thonny-crosshair on PyPI and click on the link to install it:
With pip
In your virtual environment, invoke:
pip install --user thonny-crosshair
Usage
To check all the functions in the file with CrossHair, go to Tools
menu and select Check the current file with CrossHair:
All changes to the file will be saved prior to executing the tests.
If you prefer, you can undo them.
TODO: capture
The check will be executed in the Thonny shell:
You can stop the check with the “Stop” sign:
Sometimes it is practical to check only a single function (e.g., if it takes too long
to check the whole file).
In that case, move the caret to the body of the function that you would like to verify,
go to Tools menu and select Check the function under the caret with CrossHair:
TODO: capture
Additionally, CrossHair can check your code while you type and immediately warn you
of coding mistakes.
To check the current file continuously, go to Tools menu and select Check the current file with CrossHair continuously:
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 CrossHair,
Y is the minor version (new or modified features), and
Z is the patch version (only bug fixes).
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.