mirror of https://github.com/ConsenSys/mythril
parent
ac279a0e21
commit
402404efa2
@ -0,0 +1,13 @@ |
|||||||
|
[run] |
||||||
|
source = |
||||||
|
. |
||||||
|
|
||||||
|
[report] |
||||||
|
omit = |
||||||
|
*__init__.py |
||||||
|
/usr/* |
||||||
|
*_test.py |
||||||
|
setup.py |
||||||
|
|
||||||
|
[html] |
||||||
|
directory = coverage_html_report |
@ -1,5 +1,6 @@ |
|||||||
#!/bin/sh |
#!/bin/sh |
||||||
|
|
||||||
coverage run --source=mythril -m unittest discover -p "*_test.py" |
rm -rf htmlcov |
||||||
|
coverage run -m unittest discover -p "*_test.py" |
||||||
coverage html |
coverage html |
||||||
open htmlcov/index.html |
open coverage_html_report/index.html |
||||||
|
Loading…
Reference in new issue