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
Florian Bruhin
a6d09b8cc9
100% coverage for browser.network.schemehandler.
2015-08-12 06:53:32 +02:00
Florian Bruhin
83a4451f93
Skip coverage checks when tests are filtered.
2015-08-12 06:42:05 +02:00
Florian Bruhin
cf45d97046
100% test coverage for utils.jinja.
2015-08-12 06:25:05 +02:00
Florian Bruhin
2d8aaecd65
100% coverage for utils.debug.
2015-08-11 17:11:00 +02:00
Florian Bruhin
c8679d6544
100% coverage for browser.webelem.
2015-08-10 19:37:16 +02:00
Florian Bruhin
a28b0c3386
Remove .coverage.ini in check_coverage.py.
2015-08-08 22:55:37 +02:00
Florian Bruhin
3179455e69
Reorganize tox.ini.
...
- The environment to run unittests is now called py34 as that's the common
thing used, and will also allow us to run the tests with Python 3.5.
- The default tests now also run coverage.py and do a coverage check (on
Linux).
- The smoke tests are now part of the default environment.
2015-08-08 22:33:29 +02:00
Florian Bruhin
d23096f898
Also check opposite condition in check_coverage.py.
2015-08-02 22:16:03 +02:00
Florian Bruhin
e5056e1c43
100% coverage for mainwindow.statusbar.tabindex.
2015-08-02 20:34:37 +02:00
Florian Bruhin
6c0f523c89
100% coverage for browser.http and browser.rfc6266.
2015-08-02 19:52:43 +02:00
Florian Bruhin
1d4bb8d8da
100% coverage for misc.split.
2015-08-02 13:42:01 +02:00
Florian Bruhin
d5888fea89
100% coverage for mainwindow.statusbar.progress.
2015-08-02 01:49:33 +02:00
Florian Bruhin
f21cffd9b8
100% coverage for mainwindow.statusbar.percentage.
2015-08-02 01:45:19 +02:00
Florian Bruhin
e59f533f9d
Add statusbar.keystring to 100% coverage modules.
2015-08-02 01:34:40 +02:00
Florian Bruhin
9db0e03f05
Add some tests for config.configexc.
2015-08-02 01:31:43 +02:00
Florian Bruhin
e94e90baec
Add some tests for config.configdata.
2015-08-02 00:59:13 +02:00
Florian Bruhin
26f6bb7d0d
Rewrite browser.test_tabhistory.py for pytest.
2015-08-02 00:34:04 +02:00
Florian Bruhin
907a4b0e5e
Add path assertion to check_coverage.py.
...
https://bitbucket.org/ned/coveragepy/issues/235 confuses me - maybe the XML
format will change in the future to not contain the full filename? To make
sure I'll add this assertion, then I'll notice.
2015-07-29 17:31:26 +02:00
Florian Bruhin
d805e2d71e
Don't use lxml for check_coverage.py.
...
See #792 .
2015-07-24 14:42:18 +02:00
Florian Bruhin
7f2abd1a46
tests: Enforce 100% coverage for perfect modules.
...
Fixes #792 .
2015-07-24 14:04:40 +02:00