CDK (TypeScript) is used to manage AWS infrastructure for integration tests.
cd cdk
npm run build
pipenv install --dev
# Unit tests
tox -e unit
# Integration tests, this will also create new AWS infrastructure.
tox -e integ
# Integration tests without creating stack (use existing)
tox -e integ -- --skip-cdk
# Run a single test
tox -e unit -- -k test_{name}
# Manually incrementally test coverage
tox -e clean
tox -e unit
tox -e integ -- --skip-cdk
tox -e report
# Running `tox` will clean existing coverage and only report unit test coverage
# Use make file
make e2e
cd docs
rm -r build
sphinx-apidoc -f -o source ../red_panda
make html