bundled/webpy/test/README @ a55ffc78928c
Add a friendlier error message when you need to --init
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 11 Jun 2010 19:59:34 -0400 |
parents |
7c9d165e0cd1 |
children |
(none) |
# web.py unit tests
## Setup
All databases expect a database with name `webpy` with username `scott` and password `tiger`.
## Running all tests
To run all tests:
$ python test/alltests.py
## Running individual tests
To run all tests in a file:
$ python test/db.py
To run all tests in a class:
$ python test/db.py SqliteTest
To run a single test:
$ python test/db.py SqliteTest.testUnicode