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
File details
Details for the file ironpython-pytest-0.1.0.tar.gz
.
File metadata
- Download URL: ironpython-pytest-0.1.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2844732aa7eba8959e1a362445c555d0a2613199556bca2324f5a51590ce6bd7 |
|
MD5 | dd3354837579dd6cd21d3aece983f93b |
|
BLAKE2b-256 | 6a429ab15c7f85057e4f519eff36308dfd536fcb0f8eb7082b11205c48a5325a |
File details
Details for the file ironpython_pytest-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: ironpython_pytest-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68e5c223f5c7ebaabff7e1323a34a79ab2f49010a5b1b0f32f55c1030de08ac6 |
|
MD5 | 9d7a46aebe356896621056ffeec32400 |
|
BLAKE2b-256 | ab5549c0908b18484fa1757caa7e526761784a24643d480ec6f02192cc0d8f30 |