Florian Bruhin
|
6dc3b5de36
|
Add some margin to wait_for stopwatch.
|
2015-11-02 06:11:35 +01:00 |
|
Florian Bruhin
|
8e09fd929b
|
Ignore QWaitCondition error.
|
2015-11-02 06:10:31 +01:00 |
|
Florian Bruhin
|
4451165a27
|
Change IPC warnings to debug.
This seems to show up on Ubuntu Trusty (with older Qt) as well...
|
2015-11-01 23:11:42 +01:00 |
|
Florian Bruhin
|
b79ccb5e79
|
bdd: Make message matching work.
|
2015-11-01 22:49:39 +01:00 |
|
Florian Bruhin
|
dac2898585
|
Parse log messages in LogLine.
|
2015-11-01 22:49:29 +01:00 |
|
Florian Bruhin
|
6431997a5a
|
Add some testprocess tests.
|
2015-11-01 22:48:44 +01:00 |
|
Florian Bruhin
|
239bc3bdea
|
Connect read_log before starting process.
|
2015-11-01 22:48:44 +01:00 |
|
Florian Bruhin
|
dfc1782bbf
|
Add testprocess.wait_for to react to messages.
|
2015-11-01 22:48:44 +01:00 |
|
Florian Bruhin
|
70decdc2c8
|
Fix lint.
|
2015-11-01 22:47:58 +01:00 |
|
Florian Bruhin
|
4b683cdd8f
|
Check invalid logs after exiting process.
|
2015-11-01 22:47:58 +01:00 |
|
Florian Bruhin
|
1c7fd7d80e
|
Rename testprocess cleanup to terminate.
|
2015-11-01 22:47:58 +01:00 |
|
Florian Bruhin
|
18ead66f04
|
Fix odd QuteProc crash.
|
2015-11-01 22:47:58 +01:00 |
|
Florian Bruhin
|
5ed419c7f5
|
Make reloading more reliable.
Before, we didn't wait until the reload is done, which could lead to a race
condition.
|
2015-11-01 22:47:58 +01:00 |
|
Florian Bruhin
|
2be5c4cd27
|
Fix lint.
|
2015-11-01 22:47:58 +01:00 |
|
Florian Bruhin
|
1a562594fa
|
Broken error message matching.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
3a948be490
|
Add test for unexpected error logging.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
ac148c11ec
|
Skip bdd tests when frozen for now.
See:
https://github.com/pytest-dev/pytest-bdd/issues/158
https://github.com/pytest-dev/pytest-bdd/issues/159
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
b878b139dd
|
Ignore errors when decoding subprocess output.
This would otherwise fail on Windows because … get translated to an UTF-8 NEL
(U+0085)...
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
be20001594
|
Adjust log regex to parse "Unknown module".
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
ee8d538964
|
Run new qutebrowser instance for each test.
The possibilities how a test can affect another are just too high.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
8664e45558
|
Use httpbin.Request namedtuple for comparisons.
This makes it easier to look at the pytest diff when things go wrong.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
6e786ff9b7
|
Open in a new tab.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
4bf6359205
|
Rename Request.url to Request.path.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
c052c8a107
|
Don't show full debug log without --verbose.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
af000a8ac6
|
Wait longer for process to start.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
ffc465e863
|
First work-in-progress feature test.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
7d17957e90
|
Ignore inspect.getargspec() warning during tests.
https://github.com/pytest-dev/pytest-bdd/issues/153
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
76fcec4e4c
|
tests: First steps towards end-to-end tests.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
e6ee0c08cf
|
testprocess: Restart process when it quits.
|
2015-10-14 21:52:11 +02:00 |
|
Florian Bruhin
|
f858af666f
|
testprocess: Get executable/args from subclasses.
|
2015-10-14 21:52:11 +02:00 |
|
John ShaggyTwoDope Jenkins
|
65418307fd
|
typos
|
2015-10-13 16:09:49 -07:00 |
|
Florian Bruhin
|
294eb19e61
|
Fix tests/integration/webserver.py when frozen.
|
2015-10-10 17:41:27 +02:00 |
|
Florian Bruhin
|
3e9088083f
|
Raise correct InvalidLine exception.
|
2015-10-10 17:29:23 +02:00 |
|
Florian Bruhin
|
2f075c382b
|
Move out test process handling to its own file.
|
2015-10-10 17:20:20 +02:00 |
|
Florian Bruhin
|
20bd1cc5fd
|
Fix tests with 'DISPLAY='.
|
2015-10-08 06:36:38 +02:00 |
|
Florian Bruhin
|
0845671165
|
Start Xvfb for CI from tests.
|
2015-10-07 23:05:39 +02:00 |
|
Florian Bruhin
|
129df05932
|
ipc: Skip socketOptions test on Qt < 5.4.
|
2015-10-07 22:04:30 +02:00 |
|
Florian Bruhin
|
7db1f65425
|
ipc: Avoid using QLocalServer.setSocketOptions.
This causes problems with AddressInUseError being swallowed.
Fixes #997.
|
2015-10-07 21:52:09 +02:00 |
|
Florian Bruhin
|
52ced6c652
|
Start Xvfb for tests.
Fixes #851.
|
2015-10-07 16:54:46 +02:00 |
|
Jonas Schürmann
|
afc166a13e
|
Coding style fixes #1002
|
2015-10-06 22:59:49 +02:00 |
|
Jonas Schürmann
|
45c9768c16
|
Added --target command line argument #922
This argument is used to override the new-instance-open-target config
option.
|
2015-10-05 21:15:52 +02:00 |
|
Florian Bruhin
|
cabbe406e3
|
tests: Fix ignoring of "load glyph failed" message.
The mark seems to be swallowed somehow when it's after @hypothesis.given.
See https://github.com/DRMacIver/hypothesis/issues/189
|
2015-10-05 08:11:26 +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
|
55efd1358b
|
Work around coverage.py bug in test_check_coverage.
Fixes #981.
See https://bitbucket.org/ned/coveragepy/issues/422/
|
2015-10-04 18:33:37 +02:00 |
|
Florian Bruhin
|
de49e5f0a5
|
Use 'is None' to compare to None.
|
2015-10-04 17:05:24 +02:00 |
|
Florian Bruhin
|
7ff881c3e3
|
Merge branch 'incdec-setting' of https://github.com/Kingdread/qutebrowser into Kingdread-incdec-setting
|
2015-10-04 17:04:40 +02:00 |
|
Florian Bruhin
|
d229e90724
|
Fix some splelling mistakes.
|
2015-10-04 15:41:42 +02:00 |
|
Daniel
|
73ba3ddaee
|
Add all possible combinations to FlagList.complete
|
2015-10-02 18:53:03 +02:00 |
|
Daniel
|
f12fbe875e
|
Use a two-digit number for incdec tests
|
2015-10-02 11:44:54 +02:00 |
|