Xpra: Ticket #847: more automated tests
Follow up from #177, see also #660 - in particular things like #822.
- integration tests: we want some tests that start a server and connect to it.
Shadow server, normal server, proxy, etc... Even the tcp proxy can be exercised this way.
Concurrent connections (spawn 10 xpra info?), etc.
Here's a tricky one that I would like to be able to catch with some tests, but it is going to be HARD: r8604 broke nvenc4 + nvenc5 with the proxy server only (fixed by r9413 + backport in r9414).
- client rendering tests: we should be able to fire up a virtual display, create a window (try both pixmap and opengl backends) and paint on it (no client class involved), then check that no errors or exceptions were triggered.
- this one would be hard to check for: #867
Wed, 29 Apr 2015 09:29:46 GMT - Antoine Martin: status, milestone changed
- status
changed from new to assigned
- milestone
changed from 0.15 to 0.16
(fix milestone - too late for 0.15)
Mon, 18 May 2015 07:35:19 GMT - Antoine Martin: description changed
- description
modified (diff)
Wed, 20 May 2015 03:11:41 GMT - Antoine Martin: description, summary changed
- description
modified (diff)
- summary
changed from add some client-server integration tests to more automated tests
Thu, 21 May 2015 11:58:10 GMT - Antoine Martin: description changed
- description
modified (diff)
Tue, 28 Jul 2015 06:54:27 GMT - Antoine Martin:
I don't see how this can easily be automated, but it would be nice to catch bugs like #926 automatically.
Sun, 15 Nov 2015 08:30:51 GMT - Antoine Martin: priority, milestone changed
- priority
changed from major to critical
- milestone
changed from 0.16 to 0.17
And also catch things like: #1031
Wed, 16 Mar 2016 05:20:26 GMT - Antoine Martin: milestone changed
- milestone
changed from 0.17 to 1.0
Tue, 12 Jul 2016 16:51:50 GMT - Antoine Martin: milestone changed
- milestone
changed from 1.0 to 1.1
Milestone renamed
Sun, 21 Aug 2016 09:55:49 GMT - Antoine Martin: milestone changed
- milestone
changed from 1.1 to 2.0
Milestone renamed
Sat, 28 Jan 2017 10:09:49 GMT - Antoine Martin: owner, status changed
- owner
changed from Antoine Martin to Smo
- status
changed from assigned to new
As of r14869 + r14868 + r14867 + r14866, the unit tests have been improved, most run with both python2 and python3 and we now also run the tests as part of the build process for win32 (r14870) and osx (r14871)!
@smo: FYI, feel free to just close.
Mon, 06 Feb 2017 23:34:33 GMT - Smo: status changed; resolution set
- status
changed from new to closed
- resolution
set to fixed
Fri, 08 Sep 2017 09:37:10 GMT - Antoine Martin:
For reference, the latest run scripts allow us to pass a specific unit test to run (useful for debugging), and the following environment variables are also useful:
DELETE_TEMP_FILES=0 \
XPRA_ALL_DEBUG=1 \
XPRA_TEST_DEBUG=1 \
./run2 ./unit/server/server_sockets_test.py
Sat, 23 Jan 2021 05:07:45 GMT - migration script:
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/847