next up previous index
Next: Writing Unit Tests for Up: Unit Tests Previous: Unit Tests   Index

Unit Tests that Use MySQL

The convention for database tests that use MySQL is to use the MySQL database server described by the MYSQLHOSTNAMEFORTESTS, MYSQLUSERNAME and MYSQLPASSWORD environment variables. If you do not have these environment variables defined, unit tests that expect this database server will not run, but will print a warning message.


next up previous index
Next: Writing Unit Tests for Up: Unit Tests Previous: Unit Tests   Index
info (at) urbansim.org