1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# 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" from this directory.
[tox]
envlist = py27
indexserver =
default = https://pypi.crate.io/simple
[testenv]
deps =
nose
mock
django
commands =
# install sst and requirements into virtualenv
{envpython} setup.py install
# print version and exit (using dev convenience script)
{envpython} sst-run -V
# print version and exit (using installed version)
sst-run -V
# run sst unit tests with nose
nosetests -m ^test_.* -e testproject -e selftests --verbosity=2 -s
# run sst selftests (acceptance tests) using sst itself
{envpython} sst-run --test -x -q -s --extended-tracebacks
|