canmove, Confirmed users, Bureaucrats and Sysops emeriti
4,714
edits
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
==The Test Environment== | ==The Test Environment== | ||
Before Mozmill tests can be run on a machine, the test environment has to be installed first. It includes all necessary tools and modules which are necessary to run Mozmill and to execute our automation scripts. | Before Mozmill tests can be run on a machine, the test environment has to be installed first. It includes all necessary tools and modules which are necessary to run Mozmill and to execute our automation scripts. The environment is a part of the storage folder. | ||
Due to any operating system brings its own set of pre-installed software, the test environment will be different for each one. See the tables below which tools and modules the environments contain | Due to any operating system brings its own set of pre-installed software, the test environment will be different for each one. See the tables below which tools and modules the environments contain. | ||
For the installation of additional Python modules a virtual environment is used. That ensures that we do not change any configuration of the users system and stay local in our sandbox. All the modules will be installed during the setup of the test environment. Update checks will happen in the background each time the Mozmill Crowd dialog gets opened by the user. | For the installation of additional Python modules a virtual environment is used. That ensures that we do not change any configuration of the users system and stay local in our sandbox. All the modules will be installed during the setup of the test environment. Update checks will happen in the background each time the Mozmill Crowd dialog gets opened by the user. | ||
===Windows=== | |||
{| class="fullwidth-table" | |||
| style="background: #eee; width: 50%" | '''Tool / Module''' | |||
| style="background: #eee; width: 50%" | '''Updatability''' | |||
|- | |||
| [http://www.python.org/download/releases/ Python 2.6.6] | |||
| No (requires new test environment) | |||
|- | |||
| [https://bitbucket.org/tortoisehg/thg-winbuild/downloads/ Python Mercurial 1.7.x] | |||
| No (requires new test environment) | |||
|- | |||
| [http://pypi.python.org/pypi/setuptools Setuptools] | |||
| No (requires new test environment) | |||
|- | |||
| [http://pypi.python.org/pypi/mozmill Mozmill] | |||
| Yes (background check on start-up) | |||
|- | |||
| [http://pypi.python.org/pypi/jsbridge JSbridge] | |||
| Yes (background check on start-up) | |||
|- | |||
| [http://pypi.python.org/pypi/mozrunner Mozrunner] | |||
| Yes (background check on start-up) | |||
|- | |||
|} | |||
===OS X=== | |||
{| class="fullwidth-table" | |||
| style="background: #eee; width: 50%" | '''Tool / Module''' | |||
| style="background: #eee; width: 50%" | '''Updatability''' | |||
|- | |||
| [https://bitbucket.org/ianb/virtualenv/ VirtualEnv] | |||
| Limited (installed with initial setup) | |||
|- | |||
| [http://pypi.python.org/pypi/Mercurial/ Python Mercurial 1.7.x] | |||
| Limited (installed with initial setup) | |||
|- | |||
| [http://pypi.python.org/pypi/setuptools Setuptools] | |||
| Limited (installed with virtualenv) | |||
|- | |||
| [http://pypi.python.org/pypi/mozmill Mozmill] | |||
| Yes (background check on start-up) | |||
|- | |||
| [http://pypi.python.org/pypi/jsbridge JSbridge] | |||
| Yes (background check on start-up) | |||
|- | |||
| [http://pypi.python.org/pypi/mozrunner Mozrunner] | |||
| Yes (background check on start-up) | |||
|- | |||
|} | |||
===Linux=== | |||
{| class="fullwidth-table" | |||
| style="background: #eee; width: 50%" | '''Tool / Module''' | |||
| style="background: #eee; width: 50%" | '''Updatability''' | |||
|- | |||
| [https://bitbucket.org/ianb/virtualenv/ VirtualEnv] | |||
| Limited (installed with initial setup) | |||
|- | |||
| [http://pypi.python.org/pypi/Mercurial/ Python Mercurial 1.7.x] | |||
| Limited (installed with initial setup) | |||
|- | |||
| [http://pypi.python.org/pypi/setuptools Setuptools] | |||
| Limited (installed with virtualenv) | |||
|- | |||
| [http://pypi.python.org/pypi/mozmill Mozmill] | |||
| Yes (background check on start-up) | |||
|- | |||
| [http://pypi.python.org/pypi/jsbridge JSbridge] | |||
| Yes (background check on start-up) | |||
|- | |||
| [http://pypi.python.org/pypi/mozrunner Mozrunner] | |||
| Yes (background check on start-up) | |||
|- | |||
|} | |||