Network Testing: Difference between revisions
Jump to navigation
Jump to search
(Add Sequence diagram) |
No edit summary |
||
Line 14: | Line 14: | ||
* docker | * docker | ||
It has been integrated into network-related Qt autotests. It shall launch itself transparently on make check. | |||
[[File:Sequence Diagram.png|thumb|Sequence Diagram]] | [[File:Sequence Diagram.png|thumb|Sequence Diagram]] | ||
Revision as of 08:45, 15 October 2018
We can now test networking code using local containers to run the test servers one needs. This shall make it possible for all contributors to test changes to network code. For the moment, all existing network test code runs against a test server that's not easy to set up. The container-based solution shall launch itself transparently on make check, provided the relevant infrastructure is available.
- Over to you Ryan ;-)
How to run tests
For tests already converted to the new system, you should just need to run make check, provided you have the necessary software installed, namely
- docker
It has been integrated into network-related Qt autotests. It shall launch itself transparently on make check.
How to convert a test to use the new system
Change its qmake config to pull in testserver.pri