aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-11-02 10:54:08 +1300
committerAldo Cortesi <aldo@nullcube.com>2016-11-02 10:54:08 +1300
commitee67797c7e4a7d3c71809862ddaee25b2ad6cd78 (patch)
tree76273f5a31b554a9305b673a5b27c89d4bdb272a
parent7e6d014f8f0b4e89c7f4cd97e9ea4856a6771981 (diff)
downloadmitmproxy-ee67797c7e4a7d3c71809862ddaee25b2ad6cd78.tar.gz
mitmproxy-ee67797c7e4a7d3c71809862ddaee25b2ad6cd78.tar.bz2
mitmproxy-ee67797c7e4a7d3c71809862ddaee25b2ad6cd78.zip
test coverage: complete branch coverage is NOT a goal
Branch coverage means lots of duplication in tests to hit all cases, and I'm not sure it's worth it. At any rate, let's aim for statement coverage first.
-rw-r--r--setup.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index df31020c..305560a6 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -10,7 +10,7 @@ testpaths = test
addopts = --capture=no --color=yes
[coverage:run]
-branch = True
+branch = False
omit = *contrib*, *tnetstring*, *platform*, *main.py
[coverage:report]