项目作者: dazayzeh

项目描述 :
unit testing in python using pytest, building on Travis CI, and running black as a linter.
高级语言: Python
项目地址: git://github.com/dazayzeh/testing-in-python.git
创建时间: 2020-07-31T10:09:03Z
项目社区:https://github.com/dazayzeh/testing-in-python

开源协议:

下载


pytest-sample-test

simple unit test in python for sum using pytest

CI/CD

this project is running on Travis CI

Linting

run black * to reformate the entire package
ot black <filename> for one file

running the tests

run python -m pytest
or pytest <filename> -v