Homec4science

Add a little more unit test documentation, fail loudly when isolation prevents…

Authored by epriestley <git@epriestley.com> on Aug 3 2011, 17:17.

Description

Add a little more unit test documentation, fail loudly when isolation prevents a query

Summary:

  • Provide an example unit test, and document it.
  • Document database isolation better.
  • When we issue an unsimulated query to the isolated connection, throw a

helpful message.

  • Pygments is complaining about my madeup "lang=demo", change it to

"lang=text".

Test Plan:

  • Ran the unit test (sanity check).
  • Ran all other unit tests (verify I didn't break isolation).
  • Added a queryfx(..., 'SELECT 1') to a test and verified it throws.
  • Read the documentation.

Reviewed By: edward
Reviewers: edward, jungejason, tuomaspelkonen, aran
CC: aran, edward
Differential Revision: 773

Details

Committed
epriestley <git@epriestley.com>Aug 3 2011, 18:15
Pushed
aubortJan 31 2017, 17:16
Parents
rPH977a6dcf8676: Merge pull request #46 from hunterbridges/aux-bug
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH29444d1df364: Add a little more unit test documentation, fail loudly when isolation prevents… (authored by epriestley <git@epriestley.com>).Aug 3 2011, 18:15