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

From Qt Wiki
Revision as of 08:29, 15 October 2018 by Ryan Chu (talk | contribs) (Add Sequence diagram)
Jump to navigation Jump to search

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
Error creating thumbnail: File missing
Sequence Diagram


How to convert a test to use the new system

Change its qmake config to pull in testserver.pri