diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-08-11 19:43:05 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-08-11 19:43:05 +0200 |
commit | 6f09c18ecdd6efc936c035cfb853769e4993cae1 (patch) | |
tree | 40642aabcb60d4228713046c9cdd452dde2b7e3a /.coveragerc | |
parent | 202270c6ed3f2daa1b7df5cdc7def818f4d6f47d (diff) | |
download | qutebrowser-6f09c18ecdd6efc936c035cfb853769e4993cae1.tar.gz qutebrowser-6f09c18ecdd6efc936c035cfb853769e4993cae1.zip |
Run coverage over tests/scripts
Rationale: https://nedbatchelder.com/blog/202008/you_should_include_your_tests_in_coverage.html
Switched from "source" to "include" as a workaround for
https://github.com/nedbat/coveragepy/issues/578 - also see:
https://github.com/LibraryOfCongress/concordia/pull/857/files
Diffstat (limited to '.coveragerc')
-rw-r--r-- | .coveragerc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.coveragerc b/.coveragerc index 2ef20dd12..9d43917a3 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,8 @@ [run] -source = qutebrowser +include = + qutebrowser/* + tests/* + scripts/* branch = true omit = qutebrowser/__main__.py |