|
|
Line 39: |
Line 39: |
|
| |
|
| ===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. The environment is a part of the storage folder.
| | Mozmill Crowd needs a pre-configured Mozmill environment to be able to execute the Mozmill tests. Check the [[QA/Automation_Services/Projects/Mozmill_Automation/Environment|Mozmill Automation - Environment]] project for more details. |
| | |
| 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.
| |
| | |
| ====Windows====
| |
| The biggest chunk of the test environment on Windows is the Python interpreter itself. It's necessary because it is not a default application on Windows. Otherwise there is no dependency on other software.
| |
| | |
| {| 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====
| |
| The setup of the test environment on OS X only works with the Python package installed with the system. Any other package installed i.e. via Mac Ports does not work, because the Python headers are not available.
| |
| | |
| {| 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====
| |
| The setup of the test environment only works when the Python headers are installed, i.e. for Debian and Ubuntu it will be python-dev.
| |
| | |
| {| 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)
| |
| |-
| |
| |}
| |
|
| |
|
| == User Interface == | | == User Interface == |