justengland / testing-demo

A simple python project with linting, test coverage and decorator tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error handling demo project

Build and Launch Docker Container

docker build -t jengland/python-tests:latest .
docker run -it --env-file .env --rm -w /usr/src/project -v ${PWD}:/usr/src/project jengland/python-tests bash

Run tests

python3 -m nose 

Run coverage

python3 -m nose --with-coverage --cover-html --cover-erase 

Run Linter

pylint **/*.py

About

A simple python project with linting, test coverage and decorator tests


Languages

Language:Python 96.5%Language:Dockerfile 3.5%