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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for mayatest-0.1.0.dev4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d3560c3e6bc670e680ed5eb206291e223f6ecae5c77fa13132e0c996f320f15 |
|
MD5 | 71c9746bf05fc9e80404eb16818f8ae4 |
|
BLAKE2b-256 | 5c41047e784bf706550fcc5c55260fb8b5ff0463ecace34c8911b68c02a32965 |