Florian Bruhin
2a343cb3a1
Various code style improvements
2016-04-27 20:25:27 +02:00
Florian Bruhin
25555682dc
Merge branch 'master' of https://github.com/arsana7/qutebrowser into arsana7-master
2016-03-29 18:59:06 +02:00
Florian Bruhin
606471c4b6
Merge branch 'test_statusbar_url' of https://github.com/craftyguy/qutebrowser into craftyguy-test_statusbar_url
2016-03-29 07:07:45 +02:00
Clayton Craft
a78644a199
Implement statusbar.url test
2016-03-24 12:57:14 -07:00
Florian Bruhin
cd5cb2f50d
Improve check_coverage.py output on failure
2016-03-24 06:51:22 +01:00
avk
c9bb6d0111
tests for browser.network.pastebin - code refactor
2016-02-22 20:46:22 +01:00
Florian Bruhin
7a268a41f6
pylint: Don't require docstring for main() funcs.
2016-02-01 20:06:49 +01:00
Florian Bruhin
70cd18fc98
100% coverage for mainwindow/statusbar/prompt.py.
2016-01-11 07:14:51 +01:00
Florian Bruhin
5ddc94bc8d
Whitelist prompt.py for 100% coverage check.
...
It has 100% due to integration tests, but no unit tests yet.
2016-01-10 23:22:44 +01:00
Florian Bruhin
a5f2ac5f03
Adjust copyright years.
2016-01-04 07:12:39 +01:00
Florian Bruhin
9607fae935
Skip check_coverage.py with --lf.
2015-11-13 22:43:12 +01:00
Florian Bruhin
256352024b
Fix lint.
2015-11-11 22:39:17 +01:00
Florian Bruhin
ad8c9988f0
Fix lint.
2015-11-11 22:23:43 +01:00
Florian Bruhin
f0083adfb5
Remove unused import.
2015-11-11 21:14:26 +01:00
Florian Bruhin
e25ae49c0e
Use os.path.commonprefix to get common path.
...
os.path.commonpath is only available on Python 3.5.
2015-11-11 21:11:14 +01:00
Florian Bruhin
3680f01576
Switch to pytest 2.8.
...
Closes #1077 .
There were two issues:
- Paths for coverage.py suddenly were absolute instead of relative, so we strip
the common base part if that happens.
/home/florian/proj/qutebrowser/git/qutebrowser/browser/cookies.py has 100%
coverage but is not in perfect_files!
/home/florian/proj/qutebrowser/git/qutebrowser/browser/http.py has 100%
coverage but is not in perfect_files!
[...]
- There was an io.UnsupportedOperationError in test_check_coverage.py because
of pytest-faulthandler, so we just don't load that in the subprocess.
2015-11-11 20:57:47 +01:00
Florian Bruhin
250f0e7410
Merge branch 'test-browser-cache-more' of https://github.com/lamarpavel/qutebrowser into lamarpavel-test-browser-cache-more
2015-11-10 18:57:28 +01:00
Lamar Pavel
aaf62fc6d0
Add cache tests to perfectly covered files.
2015-11-10 03:49:18 +01:00
Florian Bruhin
0162583444
Fix check_coverage.py return value.
2015-11-09 20:07:08 +01:00
Florian Bruhin
14334dce21
Don't remove coverage.xml on CI.
2015-10-23 19:14:46 +02:00
Florian Bruhin
f4fdcbdd71
Add a --check-all to check_coverage.py.
2015-10-04 20:35:24 +02:00
Florian Bruhin
54ae1582af
Make check_coverage work when called with a file.
2015-10-04 19:36:26 +02:00
Florian Bruhin
311ae78bc3
Adjust check_coverage.py for coverage 4.0.
2015-09-21 07:42:10 +02:00
Florian Bruhin
d5baed5e83
Merge branch 'cookies_tests' of https://github.com/acogneau/qutebrowser into acogneau-cookies_tests
2015-09-16 22:58:28 +02:00
Florian Bruhin
2a4cd02704
100% coverage for misc.ipc.
2015-09-04 06:58:46 +02:00
Alexander Cogneau
418328e61b
Cookie tests done
2015-09-03 18:17:39 +02:00
Florian Bruhin
0c3ee46fe0
Merge branch 'autoupdate_tests' of https://github.com/acogneau/qutebrowser into acogneau-autoupdate_tests
2015-09-01 08:48:52 +02:00
Florian Bruhin
9e6bcb97ca
Output coverage to coverage.xml.
...
This avoids https://bitbucket.org/ned/coveragepy/issues/400/
2015-08-31 07:41:06 +02:00
Alexander Cogneau
ee77951e66
PEP8 fixes
2015-08-31 01:25:42 +02:00
Florian Bruhin
4fb3114af8
Merge branch 'cmdhistory_tests' of git://github.com/acogneau/qutebrowser into acogneau-cmdhistory_tests
2015-08-27 06:18:30 +02:00
Florian Bruhin
d3e9ffec65
Revert "Revert "Add basekeyparser.py to PERFECT_FILES""
...
This reverts commit 35cbee41d6
.
2015-08-26 20:38:56 +02:00
Florian Bruhin
2750c6ab5a
Make check_coverage.py more testable and add tests.
2015-08-26 20:08:40 +02:00
Florian Bruhin
ae2ee68b85
Fix branch checking in check_coverage.py.
2015-08-26 17:51:51 +02:00
Alexander Cogneau
3a4069667a
Remove test functions out of class
2015-08-26 12:07:47 +02:00
Alexander Cogneau
933d683ff4
Add cmdhistory.py to PERFECT_FILES
2015-08-26 01:20:57 +02:00
Florian Bruhin
abba3215f2
Add missing docstring.
2015-08-25 21:17:04 +02:00
Florian Bruhin
5eed9e55ad
check_coverage.py: Always delete .coverage.xml.
2015-08-25 17:59:10 +02:00
Florian Bruhin
7ee4d2f2c9
100% test coverage for commands.argparser.
2015-08-20 07:14:25 +02:00
Florian Bruhin
5a975d1b90
100% test coverage for config.style.
2015-08-19 20:43:06 +02:00
Florian Bruhin
685bbaae6d
100% test coverage for misc.editor.
2015-08-19 09:34:44 +02:00
Florian Bruhin
aca082ce83
100% test coverage for misc.guiprocess.
2015-08-19 07:57:02 +02:00
Florian Bruhin
1a61e53daa
100% test coverage for misc.checkpyver.
2015-08-19 05:58:52 +02:00
Florian Bruhin
5d013a67a7
100% coverage for misc.msgbox.
2015-08-17 23:18:52 +02:00
Florian Bruhin
9892c10f49
100% test coverage for utils.error.
2015-08-17 23:18:39 +02:00
Florian Bruhin
9cd2f6ba24
100% test coverage for commands.cmdutils.
2015-08-17 21:13:13 +02:00
Florian Bruhin
00d81a74c2
100% coverage for browser.network.networkreply.
2015-08-17 07:16:33 +02:00
Florian Bruhin
dff4c37f54
100% test coverage for browser/signalfilter.py.
2015-08-16 23:16:13 +02:00
Florian Bruhin
bbb581eaf8
100% coverage for browser.network.filescheme.
2015-08-13 21:56:22 +02:00
Florian Bruhin
5a1663c584
100% coverage for mainwindow.statusbar.textbase.
2015-08-12 07:40:45 +02:00
Florian Bruhin
927cf84e14
100% test coverage for config.textwrapper.
2015-08-12 07:01:21 +02:00