🧪 This branch sets up the initial test environment. There is one placeholder test currently, all tests will be located in /tests/ and must be named as test_[DESCRIPTIVE NAME].py, since these functions are never called in production we can (and will) be incredibly verbose in their names; for example, the name test_search_for_practitioner_by_npi is an excellent name.
🚧 There is an example of how to include the fhirtype package in a test at /tests/test_basic.py.
🗺️ This branch also involved a lot of changes to the directory structure, please be aware of this.
Deployment pipeline
The pipeline is currently laid out as such:
Set up linux environment > Include secret environment variables > install dependencies in environment > Lint with flake8 > Generate config files via _configMaker.py > Run all tests via pytest
Overview
🧪 This branch sets up the initial test environment. There is one placeholder test currently, all tests will be located in
/tests/
and must be named astest_[DESCRIPTIVE NAME].py
, since these functions are never called in production we can (and will) be incredibly verbose in their names; for example, the nametest_search_for_practitioner_by_npi
is an excellent name.🚧 There is an example of how to include the fhirtype package in a test at
/tests/test_basic.py
.🗺️ This branch also involved a lot of changes to the directory structure, please be aware of this.
Deployment pipeline
The pipeline is currently laid out as such: