Skip to content

Run your Python script, in every version of Maya

Notifications You must be signed in to change notification settings

mottosso/maya-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maya Test


Run your Python script, in every version of Maya.


Usage

The goal of this project is comparing the response of a single Python script in all current versions of Maya.

  1. Edit run.py
  2. See results here

Examples

I want to know whether, in each version of Maya..

Test with Nose

Use the nose testing framework for a more complete test coverage.

def test_case1():
	assert True

def test_case2():
	assert False
  1. Edit .travis.yml
  2. Replace mottosso/maya:${VERSION} run.py
    with mottosso/maya:${VERSION} -m nose.__main__ --verbose run.py

Speed up testing

Running the test in every version of Maya takes >30 mins. You can iterate faster by removing versions you aren't interested in.

matrix:
  include:
  # - env:
  #   - VERSION=2013sp1
  # - env:
  #   - VERSION=2013sp2
  - env:
    - VERSION=2014sp1
  - env:
    - VERSION=2014sp2
  1. Edit .travis.yml
  2. Remove versions

About

Run your Python script, in every version of Maya

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages