On 03/28/2012 06:03 AM, Brad Hall wrote:
There is a test framework.. it's tox (take a look at tox.ini). To run the
tests use tox -v:
$ tox -v
...
Ran 148 tests in 1.379s
Thanks,
Brad
That's good to know. I didn't know python-quantumclient had a testing
framework either.
Tox seems to use virtualenv. Is there a way to disable virtualenv and
just run the tests against the system's installed packages? Or is that
accomplished by just running nosetests?
For the other components, we're currently using "runtests.py -N" to
verify that all of the required packages are installed and the installed
versions work (we use rpms rather than pip for installing python packages).
Either way, I think it would be good to create a run_tests.sh file to be
consistent with the other projects. Even if most of the calls just go to
tox instead.
-Ionuț
--
Mailing list: https://launchpad.net/~netstack
Post to : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help : https://help.launchpad.net/ListHelp