Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Funtional / regression test suite for amo-validator

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 addons
Octocat-spinner-32 scripts
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.rst
Octocat-spinner-32 generate_tests.py
Octocat-spinner-32 requirements.txt
Octocat-spinner-32 test_validator.py
README.rst

Functional / regression test suite for amo-validator, the Add-on validator used at http://addons.mozilla.org/

Install

You need Python 2.6 or higher. Then clone this repo:

git clone git://github.com/mozilla/test-amo-validator.git

Install the dependencies:

cd test-amo-validator
pip install -r requirements.txt

You'll probably want to do all of this inside a virtualenv using virtualenvwrapper.

In addition to this command you also need to build spidermonkey from source as detailed in amo-validator's install instructions.

Usage

cd test-amo-validator
nosetests --processes=2

Then make a cup of tea while all of those tests run. It takes a while. If you have more than two cores on your machine or you don't mind pwnage, you can try to increase the number of parallel processes used for testing.

Something went wrong with that request. Please try again.