> here is the link to the Wiki on "Writing good tests" as requested at QtCS: 
> http://wiki.qt.io/Writing_good_tests  .


Regarding the following point:



> If you must track mouse move events, consider replacing the use of 
> QTest::mouseMove where the first parameter is a QWidget with the overload of 
> QTest::mouseMove that takes a QWindow as parameter instead.


See https://codereview.qt-project.org/#/c/208000/ . This results in less 
verbose test function.


Gatis.


________________________________
From: Development <[email protected]> on 
behalf of Friedemann Kleint <[email protected]>
Sent: Monday, October 9, 2017 1:26:29 PM
To: [email protected]
Subject: [Development] Writing good tests


Hi,

here is the link to the Wiki on "Writing good tests" as requested at QtCS: 
http://wiki.qt.io/Writing_good_tests  .

Regards, Friedemann
The Qt Company GmbH

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to