[](https://travis-ci.org/arubertoson/mayatest)
[](https://coveralls.io/github/arubertoson/mayatest?branch=master)
[](https://scrutinizer-ci.com/g/arubertoson/mayatest/?branch=master)
[](https://badge.fury.io/py/mayatest)
[](https://opensource.org/licenses/MIT)
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
```bash
pip install mayatest
```
### Usage
Run mayatest in the folder of the script or module.
```bash
# 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](https://docs.pytest.org/en/latest/usage.html).
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
Metadata
Release files for mayatest 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mayatest-0.1.2.tar.gz | 4.8 kB | Without provenance | Details for mayatest-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mayatest-0.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for mayatest-0.1.2-py2.py3-none-any.whl |
Total release size: 11.4 kB
Release files / mayatest-0.1.2.tar.gz
| Download URL | mayatest-0.1.2.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9b8baede7bdf82555357feddd4bc51566d3af3b254ce507631da90eda395fbb
|
|
BLAKE2b-256 checksum How to use checksums |
1caa9b3f2d84ad824f8a14228758ea6241bb045f481d86b9b802da6faf0d2f9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / mayatest-0.1.2-py2.py3-none-any.whl
| Download URL | mayatest-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0df24462cedea6d5cb6f6030c73c8d71b78b8c51d3c3b3fb04cb6aeef0126f48
|
|
BLAKE2b-256 checksum How to use checksums |
14fc3633359a067bfda69ace38d3274fa7e7eade7639b01af69a259c0232693d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mayatest 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.