This is a submodule for advanced testing
- Create and source Venv
virtualenv ~/.advanced-testing
source ~/.advanced-testing/bin/activate
- Create scaffold
touch Makefile
touch hello.py test_hello.py
touch requirements.txt
- Populate
Makefile
install:
pip install --upgrade pip &&\
pip install -r requirements.txt
test:
python -m pytest -vv --cov=hello --cov=hellocli test_hello.py
lint:
pylint --disable=R,C hello.py hellocli.py
all: install lint test
- pdb
- testing
Hey I added a gist check it out