[storm] how do you run all tests
Gustavo Niemeyer
gustavo at niemeyer.net
Tue Jul 31 14:29:20 BST 2007
Hello Stanko,
> How do you run all test in test folder. Do I have to have py.test installed?
You don't need py.test, even though you can use it if you want.
To run *all* tests, besides having all dependencies installed (pysqlite2,
psycopg2, MySQLdb, etc), you have to set two environment variables which
will let tests know about MySQL and PostgreSQL test databases. I do
something like:
export STORM_POSTGRES_URI=postgres:storm
export STORM_MYSQL_URI=mysql:storm
and I have a "storm" database available in both PostgreSQL and MySQL.
--
Gustavo Niemeyer
http://niemeyer.net
More information about the storm
mailing list