mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
BigchainDB Server Tests
The bigchaindb/tests/ Folder
The bigchaindb/tests/ folder is where all the tests for BigchainDB Server live. Most of them are unit tests. Integration tests are in the bigchaindb/tests/integration/ folder.
A few notes:
bigchaindb/tests/common/contains self-contained tests only testingbigchaindb/common/bigchaindb/tests/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