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 seemingly 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/')
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
Close
Hashes for ironpython_pytest-0.3.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc639c9caf4b0a21d83d7fdd8b22f4725530f9423811eaa655349765e9b5adb6 |
|
MD5 | 056b040793a6857b4090e09cb4e26549 |
|
BLAKE2b-256 | 912cd2b2e693927f2a8501d51ce36f5e6a33c6954ec4822d65d16846b56a30ad |