install pyenv to install python 3.6 and then pipenv ref. bit.ly/nnpipenv
cd :THIS
# install dependencies
pipenv sync -d
# #also install dev-package
# app config
cp .env-sample .env
please_do='edit .env file to fill in your setting'
# run test
pipenv run pytest tests/path/to/your_test.py -k 'test_method' # run a specific test method
pipenv run pytest tests/path/to/your_test.py # run tests in a file
pipenv run pytest -x # stop after 1st failed test
pipenv run pytest # run all
ref1. quiqua/pytest-dotenv#10 lead to ref2. #1
01 must use dev-package version for pytest and pytest-dotenv
02 must use -d pip install i.e. pipenv sync -d
ref. :THIS/doc/run-test-parallel.md