对IronPython的pytest替换极其微小且不完整
ironpython-pytest的Python项目详细描述
铁蟒pytest
Ridiculously minimal and incomplete pytest replacement for IronPython.
这是not试图将^{pytest
约定和框架的子集进行直接替换提供最低限度的支持。在
它做了大量的假设,几乎没有可配置性。在
处理它。在
(••)(••)>;⌐■-■(⌐■■■■)
安装
ipy -X:Frames -m ensurepip
ipy -X:Frames -m pip install ironpython-pytest
使用
从命令行:
^{pr2}$或以编程方式:
importosimportpytestif__name__=='__main__':# Fake some modulespytest.load_fake_module('Rhino')pytest.load_fake_module('Rhino.Geometry',fake_types=['RTree','Sphere','Point3d'])pytest.run('project/test_dir/')
- 项目
标签: