Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1003 Bytes

DEV.md

File metadata and controls

23 lines (18 loc) · 1003 Bytes

Local Development

Stack

I'm using the following stack to develop this package:

Kickstart local development

Please do the following:

  1. Make sure you have Pipenv installed.
  2. Create virtual env: pipenv --python 3.8
  3. If you are using Visual Studio code, run pipenv run python -c "import sys;print(sys.executable)" and add the path to python.pythonPath in your .vscode\settings.json file.
  4. Install dependencies using: pipenv sync --dev.
  5. To update depencencies to the latest version: pipenv update.

Trigger tests

Some hints on testing:

  1. Make sure your local development is set up correctly.
  2. Run pipenv run python -m pytest
  3. Make sure test files are prefixed with test_.
  4. To run tests that match the json: pipenv run python -m pytest -k json. You can add -vv for a detailed overview.