Automated testing: Difference between revisions

Content added Content deleted
Line 96: Line 96:
./bin/mysite test base
./bin/mysite test base


That's a mold-berkaer. Great thinking!
=== To run your tests quickly ===

The normal test runner uses MySQL, and has to do a bunch of database setup and
teardown. If you want the tests to run faster, you can use a different settings
file that uses an in-memory SQLite database.

./bin/sqlite_mysite test base

The tests will run about five times faster that way.


=== To run just a few specific tests ===
=== To run just a few specific tests ===