We use asdf
to manage plugins.
asdf plugin-add nodejs
asdf plugin-add python
sudo apt update & sudo apt upgrade
sudo apt install libffi-dev libncurses5-dev zlib1g zlib1g-dev libssl-dev libreadline-dev libbz2-dev libsqlite3-dev
We use pip to manage dependencies. These are needed in order to run tests
pip install -r requirements.test.txt
Unit tests are written utilising pytest
. To run them
python -m pytest tests/unit
Integration tests are written utilising pytest
. To run them
API_KEY=<<HARVEST_API_KEY>> ACCOUNT_ID=<<HARVEST_ACCOUNT_ID>> python -m pytest tests/integration