ironpython-pytest
Ridiculously minimal and incomplete pytest replacement for IronPython.
This is not an attempt to fork pytest to IronPython (as the abandoned pytest-ironpython), instead it's intended to provide the bare minimum for a drop-in replacement of a subset of pytest conventions and framework required to run unit tests on IronPython.
It makes a ton of assumptions and has very little configurability.
Deal with it.
(•_•) ( •_•)>⌐■-■ (⌐■_■)
Installation
ipy -X:Frames -m ensurepip
ipy -X:Frames -m pip install ironpython-pytest
Usage
From the command line:
ipy -m pytest file_or_dir
Or programmatically:
import os
import pytest
if __name__ == '__main__':
# Fake some modules
pytest.load_fake_module('Rhino')
pytest.load_fake_module('Rhino.Geometry', fake_types=['RTree', 'Sphere', 'Point3d'])
pytest.run('project/test_dir/')
Release
To release a new version of this project:
-
Update the changelog with all novelty
-
Bump version:
bump2version [major|minor|patch] --verbose -
Push it:
git push && git push --tags -
Prepare the changelog for next release
Metadata
Release files for ironpython-pytest 0.5.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 |
|---|---|---|---|---|
| ironpython-pytest-0.5.0.tar.gz | 10.4 kB | Without provenance | Details for ironpython-pytest-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ironpython_pytest-0.5.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for ironpython_pytest-0.5.0-py2.py3-none-any.whl |
Total release size: 19.3 kB
Release files / ironpython-pytest-0.5.0.tar.gz
| Download URL | ironpython-pytest-0.5.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
561cd97af97245cc4efa7a389ce0b33ace97eed245613f03e927629892c20c90
|
|
BLAKE2b-256 checksum How to use checksums |
c32d12c736f935353c18224a7903e1a816baa496423e40ec308d0e18b956abaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / ironpython_pytest-0.5.0-py2.py3-none-any.whl
| Download URL | ironpython_pytest-0.5.0-py2.py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
df21cd9112626e558fbda4258e63d3af99edd3ec641a9fb055a4d3bd7b57119f
|
|
BLAKE2b-256 checksum How to use checksums |
ccab42e3e765a7286f13165505c471b89d7cef81edc6dbaa06e83a687d7ca240
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for ironpython-pytest 0.5.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.