Davidcparrar / advanced-testing-techniques

This is a repo for doing advanced testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Just Python 3.8

Advanced Testing with Github Actions

Python 3.6-3.8 + PyPi

Python package

Ubuntu + OS X Python 3.6-3.8 + PyPi

Python package

Code Climate Maintability

Maintainability

Code Climate Test Coverage

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

About

This is a repo for doing advanced testing


Languages

Language:Python 86.7%Language:Makefile 13.3%