QA/Execution/Web Testing/Automation/PIP Requirements

From MozillaWiki
Jump to: navigation, search

The Web QA team uses PIP requirements to manage the libraries that are required to run the tests for each project. There are two levels of requirements: infrastructure and project.

Infrastructure

These are libraries that are required for our continuous integration. They are not absolutely required to run tests locally, which is why they are separated out into their own file. These requirements are installed via a managed script in our Jenkins instance. Access to the script requires administrator privileges as all managed scripts are considered system configuration. You can locate the managed scripts once logged in as an administrator at this location.

The current infrastructure requirements are:

Project

Each project has its own unique requirements, and these are stored in the requirements.txt file which resides in the root of the project.

If wish to run the tests locally, then you can just install the required files by issuing the following command in the directory where you've cloned the test repository:

   pip install -Ur requirements.txt