Test Autodesk Maya scripts and modules with pytest
Project description
Wrapper to easily test maya scripts and modules with the powerful pytest framework.
Getting Started
Prerequisites
You’ll need to install: * Autodesk Maya (2014+) * Python (2.7+)
Installing
pip install mayatest
Usage
Run mayatest in the folder of the script or module.
# To invoke pytest using mayapy from Maya 2017 do:
mayatest -m 2017
# Then the normal usage for pytest applies, e.g. to test specific file:
mayatest -m 2017 --pytest="test_sometest.py"
# to only run test_func
mayatest -m 2017 --pytest="test_sometest.py::test_func"
For more information using pytest go to their docs.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
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
mayatest-0.1.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for mayatest-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90953c447011de85300f601078fade34f50d3212290dc74efc679acb8f735af7 |
|
MD5 | 1abfb83541442acc46d5f40b6087c0b8 |
|
BLAKE2b-256 | 249035c76fab6180e36ffe2a64cd41c91ada17187b19c7a3ee844dbbaeb0388c |