[TIP] (announcing) pg13, an in-process SQL database for mocking

Ben Finney ben+python at benfinney.id.au
Thu Apr 2 19:43:38 PDT 2015


Randy Syring <randy at thesyrings.us> writes:

> Discussion: what's the point of creating a new database for *every*
> test?

Ensuring that tests don't depend on the effects of other tests.

-- 
 \        “I don't accept the currently fashionable assertion that any |
  `\       view is automatically as worthy of respect as any equal and |
_o__)                                   opposite view.” —Douglas Adams |
Ben Finney




More information about the testing-in-python mailing list