Salad, is test automation tool, designed on top of Lettuce, to do tests using files that contains the description of each task, these files are named features
The test environment aren't made in the server, because normal users aren't not in the server side, so, do you up your test environment in your local machine, with a graphic desktop environment with firefox
, python
, git
, pip
and virtualenv
installed previously.
- Create one virtualenv like
salad
in your development folder with the commandvirtualenv salad
- Into the
virtualenv
folder, turn on the virtualenv with the commandsource bin/activate
- fork the
salad
, from thegithub
usinggit clone https://github.com/salad/salad salad-sources
- In the
salad-sources
install the requirements withpip install python-levenshtein
- Setup the package in development mode
python setup.py develop
- Done
- Create a
new-site
in bench usingadmin
as password for theAdministrator
- Start the
bench
using thisnew-site
- Clone this gist in your features folder
git clone https://gist.github.com/MaxMorais/7d8e8154abf576930331 features
TIP: 00 is to manage the order the the salad will run the features, the feature 00, run first of 01
Goto the virtualenv
folder and run salad
It will start a new browser, and run the steps.