mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 05:56:14 +02:00
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:
parent
e4f1453cc9
commit
8d702fee9d
6 changed files with 153 additions and 3 deletions
3
Makefile
3
Makefile
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue