QA/Automation/Projects/Mozmill Automation/Environment/Requirements: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 7: Line 7:
* Ship with a fixed version of included tools, which don't have to be compiled or installed on the target system
* Ship with a fixed version of included tools, which don't have to be compiled or installed on the target system
* Support for all platforms as given by the [http://www.mozilla.org/en-US/firefox/7.0/system-requirements/ Firefox system requirements]
* Support for all platforms as given by the [http://www.mozilla.org/en-US/firefox/7.0/system-requirements/ Firefox system requirements]
* No dependencies on system-wide applications as toolboxes or frameworks
* No dependencies on system-wide applications as toolboxes or frameworks (No usage of virtualenv)
* No modifications of the target system by the installation of tools or modifications of settings
* No modifications of the target system by the installation of tools or modifications of settings
* Ship as a zip archive with an as small as possible size
* Ship as a zip archive with an as small as possible size
* Scripts to auto-generate test environments for all platforms
* Scripts to auto-generate test environments for all platforms


The minimal set of tools, which are necessary for the environment to allow the execution of our existent Mozmill tests is:
=== Linux ===
 
* Mercurial
* JSBridge
* Mozrunner
* Mozmill
 
== Linux ==
Due to the fact that Ubuntu is our default Linux distribution for testing, we will primarily focus on this specific OS for now. Saying that, it does not mean that we do not want to support other distributions in the future.
Due to the fact that Ubuntu is our default Linux distribution for testing, we will primarily focus on this specific OS for now. Saying that, it does not mean that we do not want to support other distributions in the future.


==Mac==
=== Mac ===
Compared to Linux, Mac OS X does not have developer tools installed per default. Given that xtools even has to be bought via the Apple Store now, we can't make it a requirement. The environment has to work on a clean OS X system with the default Python installation.
Compared to Linux, Mac OS X does not have developer tools installed per default. Given that xtools even has to be bought via the Apple Store now, we can't make it a requirement. The environment has to work on a clean OS X system with the default Python installation.


==Windows==
=== Windows ===
The Windows platform is the most important but also most difficult one. It doesn't have any developer tools or Python interpreter installed per default. That means the environment would also have to bundle Python to be usable at all. A nice solution here is the [http://www.py2exe.org/ py2exe extension], which would allow us to kill any dependency on Python bundled with our environment.
The Windows platform is the most important but also most difficult one. It doesn't have any developer tools or Python interpreter installed per default. That means the environment would also have to bundle Python to be usable at all. A nice solution here is the [http://www.py2exe.org/ py2exe extension], which would allow us to kill any dependency on Python bundled with our environment.
== Tools ==
The minimal set of tools, which are necessary for the environment to allow the execution of our existent Mozmill tests is:
* [http://www.python.org/ Python] (2.5 - 2.7)
* [http://pypi.python.org/pypi/Mercurial/ mercurial] (1.9.3)
* [http://pypi.python.org/pypi/jsbridge jsbridge]
* [http://pypi.python.org/pypi/mozrunner mozrunner]
* [http://pypi.python.org/pypi/mozmill mozmill]
canmove, Confirmed users, Bureaucrats and Sysops emeriti
4,714

edits

Navigation menu