mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00: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:
common/
contains self-contained tests only testingbigchaindb/common/
db/
contains tests requiring the database backend (e.g. RethinkDB)
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