Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
Network Testing: Difference between revisions
(Give some basic structure.) |
(Add Sequence diagram) |
||
Line 13: | Line 13: | ||
you have the necessary software installed, namely | you have the necessary software installed, namely | ||
* docker | * docker | ||
[[File:Sequence Diagram.png|thumb|Sequence Diagram]] | |||
== How to convert a test to use the new system == | == How to convert a test to use the new system == | ||
Change its <kbd>qmake</kbd> config to pull in <kbd>testserver.pri</kbd> | Change its <kbd>qmake</kbd> config to pull in <kbd>testserver.pri</kbd> |
Revision as of 08:29, 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
How to convert a test to use the new system
Change its qmake config to pull in testserver.pri