Add unit testing via pytest (#987)

* Add pytest to project

Includes a couple sample tests, a note in CONTRIBUTING, and inclusion in the makefile

* Include pytest in Travis build
This commit is contained in:
micahellison 2020-06-20 14:30:15 -07:00 committed by GitHub
parent 23c814748f
commit 878444b0ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 153 additions and 3 deletions

View file

@ -21,7 +21,8 @@ lint: ## Check style with various tools
poetry run pyflakes .
poetry run black --check --diff .
test: lint ## Run behave tests
test: lint ## Run unit tests and behave tests
poetry run pytest
poetry run behave
build: