advanced-testing-techniques

This is a repo for doing advanced testing

Stars
4

Just Python 3.8

Python 3.6-3.8 + PyPi

Ubuntu + OS X Python 3.6-3.8 + PyPi

Code Climate Maintability

Code Climate Test Coverage

AWS Code Build

![AWS Badge]

advanced-testing-techniques

This is a repo for doing advanced testing

Setup Project

  1. Create and source virtualenv
virtualenv ~/.advanced-testing
source ~/.advanced-testing/bin/activate
  1. Create scaffold
touch Makefile && touch test_hello.py && touch hello.py. && requirements.txt
  1. 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

How to debug

  • Print
  • pdb
  • testing

How to do more things with Github Actions

Badges
Extracted from project README
Maintainability Test Coverage