Merge lp://qastaging/~coreygoldberg/selenium-simple-test/add-tox-ini into lp://qastaging/selenium-simple-test

Proposed by Corey Goldberg
Status: Merged
Approved by: Corey Goldberg
Approved revision: 358
Merged at revision: 358
Proposed branch: lp://qastaging/~coreygoldberg/selenium-simple-test/add-tox-ini
Merge into: lp://qastaging/selenium-simple-test
Diff against target: 39 lines (+25/-1)
2 files modified
.bzrignore (+2/-1)
tox.ini (+23/-0)
To merge this branch: bzr merge lp://qastaging/~coreygoldberg/selenium-simple-test/add-tox-ini
Reviewer Review Type Date Requested Status
Leo Arias (community) Approve
Review via email: mp+147570@code.qastaging.launchpad.net

Commit message

added tox.ini for tox test runs

Description of the change

added an ini file (tox.ini) to use tox for running sst self tests. this will prove useful with future versions of python, and has already exposed that we broke 2.6 full compatibility :)

Tox (http://tox.testrun.org/) is a tool for running tests in multiple virtualenvs. This configuration file will run the test suite on all supported python versions. To use it, "pip install tox" and then run "tox".

I find it work's best to 'sudo pip install tox' system-wide, and then use this as a runner.

to run.. from your sst branch:

$ tox

* it's currently only setup to use python 2.7.

it will:
- create a virtualenv for each specified python version
- setup/install sst
- run unit tests with nose
- run acceptance selftests with sst

To post a comment you must log in.
Revision history for this message
Leo Arias (elopio) wrote :

Nice tool. Thanks Corey.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches