d33tah
d33tah

Reputation: 11598

Is there a Django database backend test suite?

I'm experimenting with a Django database backend for a pure-python PostgreSQL client library that I copied from psycopg2. My "hello, world" project seems to work, but I'd like to test how many corner cases aren't covered yet. Is there a test suite I could use for that?

Upvotes: 3

Views: 44

Answers (1)

d33tah
d33tah

Reputation: 11598

In Django source tree, there's tests directory. Replace contents of tests/test_sqlite.py with your backend setup and run ./runtests backends to see test results.

Upvotes: 1

Related Questions