使用pytest测试autodesk maya脚本和模块
mayatest的Python项目详细描述
#玛雅测试
[![构建状态](https://travis-ci.org/arubertoson/mayatest.svg?branch=master)(https://travis ci.org/arubertoson/mayatest)
[![覆盖状态](https://coveralls.io/repos/github/arubertoson/mayatest/badge.svg?branch=master)(https://coveralls.io/github/arubertoson/mayatest?分支=主)
[![审查者代码质量](https://scrunizer-ci.com/g/arubertoson/mayatest/badges/quality-score.png?b=master)](https://scrunizer-ci.com/g/arubertoson/mayatest/?分支=主)
[![PYPI版本](https://badge.fury.io/py/mayatest.svg)(https://badge.fury.io/py/mayatest)
[![许可证:mit](https://img.shields.io/badge/license mit yellow.svg)(https://opensource.org/licenses/mit)
(2.7+)
``bash
pip install mayaatest
````
`` bash
`` bash
pip install mayaatest
`````````
``bash
``bash
``使用mayapyapy从2017年的mayaapy调用pytest要使用mayaapy从2017年的mayaapy调用pytest,请做:
mayaatest.mayatestst-m 2017
例如,对于测试特定文件:
mayatest-m 2017--py test=“test_sometest.py”
仅运行test_func
mayatest-m 2017--pytest=“test_sometest.py::test_func”
```
有关使用pytest的详细信息,请访问他们的[文档](https://docs.pytest.org/en/最新/us用法.html)获取pytest的详细信息,请访问他们的[文档](https://docs.pytest.pytest.org/en/最新/update/us用法.html)http
<>本项目的许可麻省理工学院的许可证-有关详细信息,请参阅[license.md](license.md)文件。
[![构建状态](https://travis-ci.org/arubertoson/mayatest.svg?branch=master)(https://travis ci.org/arubertoson/mayatest)
[![覆盖状态](https://coveralls.io/repos/github/arubertoson/mayatest/badge.svg?branch=master)(https://coveralls.io/github/arubertoson/mayatest?分支=主)
[![审查者代码质量](https://scrunizer-ci.com/g/arubertoson/mayatest/badges/quality-score.png?b=master)](https://scrunizer-ci.com/g/arubertoson/mayatest/?分支=主)
[![PYPI版本](https://badge.fury.io/py/mayatest.svg)(https://badge.fury.io/py/mayatest)
[![许可证:mit](https://img.shields.io/badge/license mit yellow.svg)(https://opensource.org/licenses/mit)
(2.7+)
``bash
pip install mayaatest
````
`` bash
`` bash
pip install mayaatest
`````````
``bash
``bash
``使用mayapyapy从2017年的mayaapy调用pytest要使用mayaapy从2017年的mayaapy调用pytest,请做:
mayaatest.mayatestst-m 2017
例如,对于测试特定文件:
mayatest-m 2017--py test=“test_sometest.py”
仅运行test_func
mayatest-m 2017--pytest=“test_sometest.py::test_func”
```
有关使用pytest的详细信息,请访问他们的[文档](https://docs.pytest.org/en/最新/us用法.html)获取pytest的详细信息,请访问他们的[文档](https://docs.pytest.pytest.org/en/最新/update/us用法.html)http
<>本项目的许可麻省理工学院的许可证-有关详细信息,请参阅[license.md](license.md)文件。