Sylvain Bellemare 8a68e24e69 Abstract db layer cherrypick docs (#932)
* Add README.md to tests/ to describe test structure and pytest customizations

* Add package-level docstrings to backends

* Add README.md explaining the backend architecture

* Small improvements to docstrings in backend modules

* Restructure the backend automodule docs

* Add more docstrings to backend connections

* Add init to base backend Connection class to document expected interface

* Reword the backend/README.md docs
2016-12-12 18:28:43 +01:00
..
2016-12-12 17:38:41 +01:00
2016-12-12 16:07:41 +01:00
2016-12-12 15:53:56 +01:00
2016-02-10 19:55:33 +01:00
2016-12-12 15:53:56 +01:00
2016-02-23 09:39:56 +01:00

Tests

Test Structure

Generally all tests are meant to be unit tests, with the exception of those in the integration/ folder.

A few notes:

Pytest Customizations

Customizations we've added to pytest:

  • --database-backend: Defines the backend to use for the tests. Must be one of the backends available in the server configuration