Ridiculously minimal and incomplete pytest replacement for IronPython
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ironpython_pytest-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df21cd9112626e558fbda4258e63d3af99edd3ec641a9fb055a4d3bd7b57119f |
|
MD5 | 8d15ddfba85615570b3cdfadc5182518 |
|
BLAKE2b-256 | ccab42e3e765a7286f13165505c471b89d7cef81edc6dbaa06e83a687d7ca240 |