Skip to content

Commit

Permalink
integrate codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
xmendez committed May 19, 2018
1 parent 63a1254 commit 9ac2256
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<a href="https://pypi.python.org/pypi/wfuzz"><img src="https://img.shields.io/pypi/v/wfuzz.svg"></a>
<a href="https://pypi.python.org/pypi/wfuzz"><img src="https://img.shields.io/pypi/pyversions/wfuzz.svg"></a>
<a href="https://codecov.io/github/xmendez/wfuzz"><img src="https://codecov.io/github/xmendez/wfuzz/coverage.svg?branch=master"></a>

Wfuzz has been created to facilitate the task in web applications assessments and it is based on a simple concept: it replaces any reference to the FUZZ keyword by the value of a given payload.

Expand Down
3 changes: 3 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Wfuzz: The Web fuzzer
.. image:: https://img.shields.io/pypi/pyversions/wfuzz.svg
:target: https://pypi.org/project/wfuzz/

.. image:: https://codecov.io/github/xmendez/wfuzz/coverage.svg?branch=master
:target: https://codecov.io/github/xmendez/wfuzz

Wfuzz supports Python 3. The use of **Python 3** is preferred (and faster) over Python 2.

See Wfuzz in action:
Expand Down
25 changes: 20 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
[tox]
envlist = py27,py35
envlist = begin,py27,py35,codecov

[testenv]
changedir = tests
commands =
docker-compose -f server_dir/docker-compose.yml up -d
discover
commands = coverage run --append -m unittest discover -s tests/
deps =
netaddr
mock
coverage
discover

[testenv:docker]
changedir = tests
commands = docker-compose -f server_dir/docker-compose.yml up -d

[testenv:begin]
commands = coverage erase
deps = coverage

[testenv:end]
commands = coverage report --skip-covered --include "*site-packages/wfuzz*" -m
deps = coverage

[testenv:codecov]
passenv = CI TRAVIS TRAVIS_*
deps = codecov
commands = codecov

0 comments on commit 9ac2256

Please sign in to comment.