Salome HOME
First draft of a possible GUI testing framework. Still work todo:
[modules/med.git] / src / MEDCalc / gui / test / README.txt
1 test_qttesting.py
2 =================
3
4 Tests based on QtTesting framework from ParaView.
5 Main entry point is test_qttesting.py.
6 Each scenario is described in a XML file and can be recorded directly in the GUI via the "Record test" button. 
7
8 A scneario must save a final screenshot of the ParaView view in a file located in the temp directory (TODO: review
9 this). This file is compared against a baseline saved in the baselines subdirectory.
10
11
12 guiTester.pro 
13 =============
14
15 This is a simple Qt framework to test the dialog widgets.
16
17 To build the project:
18 * specify the sources files in the .pro file
19 * run qmake, then make
20 * run guiTester
21
22 To clean the project:
23 * run "make clean"
24 * remove binary and Makefile
25   $ rm guiTester Makefile