Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 528 Bytes

TESTING.md

File metadata and controls

27 lines (20 loc) · 528 Bytes

Running Unit Tests

Inside the Docker Container

cd /opt/src/arthur-redshift-etl/
python3 -m unittest --verbose

Inside a Virtual Environment

Install the Python code into a virtual environment and run the unittest module.

bin/build_virtual_env
source arthur_venv/bin/activate
python3 setup.py develop
python3 -m unittest --verbose

Running With Coverage Reports

coverage3 run -m unittest --verbose
coverage3 report --skip-empty
coverage3 report --skip-empty --show-missing