[Development] Running Qt auto-tests offscreen

Jedrzej Nowacki jedrzej.nowacki at digia.com
Fri Dec 7 17:12:06 CET 2012


On Friday 7. December 2012 16.55.41 Thiago Macieira wrote:
> On sexta-feira, 7 de dezembro de 2012 11.04.27, Samuel Rødal wrote:
> > In the end, maybe we could even use this for a subset of the tests in
> > the CI system. In my opinion, with the current platform abstraction
> > layer we have in place in QtGui, it's unnecessary for most of the
> > widgets tests to actually test the entire windowing system stack.
> > QWidget is now implemented on top of QWindow and QBackingStore in QtGui,
> > so most of the testing of the platform plugins and windowing system
> > integration instead of the actual Qt code should be done there.
> 
> I agree in theory, provided that the tests that do stress out the
> integration are close to complete testing. In practice, there's no way to
> tell whether the testing is enough, so I'd rather we keep full testing,
> whether redundant or not, unless we have a compelling reason not to.

I think that "being able to run all tests on a desktop without focus issues" + 
"reducing test time execution from 8,5 to 2 minutes" = "a compelling reason". 

Cheers,
  Jędrek



More information about the Development mailing list