diff --git a/AUTHORS.rst b/AUTHORS.rst index 67a818ba..2636fa6c 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -142,3 +142,4 @@ Patches and Suggestions - Can Ibanoglu @canibanoglu - Thomas Weißschuh @t-8ch - Jayson Vantuyl @kagato +- Pengfei.X diff --git a/Makefile b/Makefile index 9251923c..b3152823 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,9 @@ init: test: py.test +coverage: + py.test --verbose --cov-report term --cov=requests test_requests.py + ci: init py.test --junitxml=junit.xml diff --git a/requirements.txt b/requirements.txt index 2bedd65e..5616d2fe 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ py==1.4.12 pytest==2.3.4 +pytest-cov==1.6 invoke==0.2.0 wheel