barbican/functionaltests/pretty_tox.sh
Fernando Diaz e67ca803b9 Use testr for running functional tests and documentation
Alters tox.ini to use testr rather than nosetests.
Also, adds documentation on how to use tox to run a
single functional test class.

Change-Id: I1333ead397f338ee3da3d81b0e1de8e93283a2b5
Closes-Bug: #1490747
2015-09-14 11:56:48 -05:00

10 lines
212 B
Bash

#!/usr/bin/env bash
set -o pipefail
TESTRARGS=$1
python setup.py testr --testr-args="--subunit $TESTRARGS" | subunit-trace --no-failure-debug -f
retval=$?
echo -e "\nSlowest Tests:\n"
testr slowest
exit $retval