Changes

Jump to: navigation, search

Auto-tools/Automation Development

1,416 bytes added, 15:34, 29 September 2011
Automated Test Frameworks
== Automated Test Frameworks ==
Basically you need to have python 2.6 running, on linux this is fairly simple, on mac it may require some work. The eternal struggle on a mac is upgrading / installing linux based applications (fink, mac ports, have grown up to solve this problem) We like Homebrew, as the installs are non-destructive to the operating system, and localized to specific users. Without further a do, here are some instructions to get python 2.6 running.
 
Mac:
 
Install Brew - [https://github.com/mxcl/homebrew Brew]
Update Python 2.6 Formula
brew create git://gist.github.com/743034
name it python26
brew install python26
(Do not run brew install python, as it will install python 2.7.1)
 
Linux:
 
Install Pip with the following command sudo easy_install pip
sudo pip install mercurial
sudo pip install virtualenvwrapper
update your ~/.bash_profile
export WORKON_HOME=$HOME/.virtualenvs
export PIP_VIRTUALENV_BASE=$WORKON_HOME
source /usr/local/bin/virtualenvwrapper.sh
 
To create a new virtualenv you would do mkvirtualenv projecta –no-site-packages. “projecta” would be the name of the project you are using
 
workon projecta
install libraries needed in the relevant virtualenv so that you don’t pollute your environment.
If something goes wrong you can delete the virtualenv without breaking your machine
=== Selenium ===
 
To install Selenium it is a simple case of pip install selenium when in your virtual environment, that you created above
=== Mozmill (Firefox) Test Framework ===
Install Mozmill Crowd and get familiar with running automated tests [https://addons.mozilla.org/firefox/addon/mozmill-crowd/ Mozmill Crowd]
 
===== Advanced Install =====
 
 
The basic install process is well documented on : [https://developer.mozilla.org/en/Mozmill Mozilla Developer]
Confirm
753
edits

Navigation menu