项目作者: 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
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