The `runTest` method in the `qgis.core.QgsMultiRenderChecker` class is used to execute a test for multiple renderers in QGIS. It takes a `QgsMultiRenderChecker.RenderTest` object as an argument, which contains the necessary parameters for the test, such as the map settings, layers, and renderer types.
During the test execution, different renderer types are applied to the layers specified in the `RenderTest` object, and the resulting map images are compared to verify if they are visually similar. This helps in testing the compatibility and correctness of multiple renderers in QGIS.
The `runTest` method returns a boolean value indicating if the test passed or not. If all renderers produce visually similar map images, it returns `True`, otherwise, it returns `False`.
Python QgsMultiRenderChecker.runTest - 38 examples found. These are the top rated real world Python examples of qgis.core.QgsMultiRenderChecker.runTest extracted from open source projects. You can rate examples to help us improve the quality of examples.