Testing Howto

To run the test local follow the next steps

1. Setup your env


# Clone project
git clone git@github.com:DLR-SC/prov2bigchaindb.git
cd prov2bigchaindb

# Setup virtual environment
python -m venv env
source env/bin/activate

# Install dependencies
make dev-setup

2. Start your BigchainDB test node

The tests require a running BigchainDB and RethinkDB instance.

make run

3. Setup environment variables

  • BDB_HOST: Default: 127.0.0.1
  • BDB_PORT: Default: 9984

If you like to connect to BigchainDB node, hosted on a different port and/or machine:

BDB_HOST=127.0.0.1
BDB_HOST=9984

4. Run your tests

# Change to env
source env/bin/activate
#Start tests
make test