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
saladin your development folder with the commandvirtualenv salad - Into the
virtualenvfolder, turn on the virtualenv with the commandsource bin/activate - fork the
salad, from thegithubusinggit clone https://github.com/salad/salad salad-sources - In the
salad-sourcesinstall the requirements withpip install python-levenshtein - Setup the package in development mode
python setup.py develop - Done
- Create a
new-sitein bench usingadminas password for theAdministrator - Start the
benchusing 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.
