Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Test Autodesk Maya scripts and modules with pytest

Project description

# Maya Test
[![Build Status](](
[![Coverage Status](](
[![Scrutinizer Code Quality](](
[![PyPI version](](
[![License: 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

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=""
# to only run test_func
mayatest -m 2017 --pytest=""

For more information using pytest go to their [docs](

## License

This project is licensed under the MIT License - see the []( file for details

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mayatest-0.1.2-py2.py3-none-any.whl (6.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3
mayatest-0.1.2.tar.gz (4.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page