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
(Create stub page for Ryan to fill in.) |
(Give some basic structure.) |
||
Line 7: | Line 7: | ||
: Over to you Ryan ;-) | : Over to you Ryan ;-) | ||
== How to run tests == | |||
For tests already [[#How_to_convert_a_test_to_use_the_new_system|converted to]] the new system, you should just need to run <kbd>make check</kbd>, provided | |||
you have the necessary software installed, namely | |||
* docker | |||
== How to convert a test to use the new system == | |||
Change its <kbd>qmake</kbd> config to pull in <kbd>testserver.pri</kbd> |
Revision as of 13:40, 8 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