Difference between revisions of "Documentation/Snapshot/Developers/QtTesting"

From Slicer Wiki
Jump to: navigation, search
 
(10 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
*[http://www.paraview.org/Wiki/Testing_design QtTesting library]
 
*[http://www.paraview.org/Wiki/Testing_design QtTesting library]
 
*[http://www.commontk.org/index.php/Documentation/Widget_testing CTKQtTesting]
 
*[http://www.commontk.org/index.php/Documentation/Widget_testing CTKQtTesting]
 +
 +
Source
 +
* <s>On github: [https://github.com/benjaminlong/Slicer/tree/qt-testing-integration qt-testing-integration]</s> - All changes have been integrated into Slicer
 +
 +
= Wish list ==
 +
 +
See https://github.com/commontk/CTK/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20label%3AQtTesting%20
 +
  
 
= Milestones =
 
= Milestones =
Line 23: Line 31:
 
* To use a QToolButton after a click in qt_expand_button, ex: Toolbar. (work in progress)
 
* To use a QToolButton after a click in qt_expand_button, ex: Toolbar. (work in progress)
 
* To play a script in a different machine - ctkFileDialog save an absolute path when files are loaded
 
* To play a script in a different machine - ctkFileDialog save an absolute path when files are loaded
 +
* If a native file dialog is called, the playback had to be played slowly
 +
* Cancel after applyed in CLI Modules
  
 
= Tutorials =
 
= Tutorials =
Line 43: Line 53:
 
|Slicer3Minute Tutorial
 
|Slicer3Minute Tutorial
 
| ? <!-- Ubuntu 10.04 -->
 
| ? <!-- Ubuntu 10.04 -->
| {{Done}} <!-- Ubuntu 11.04 -->
+
| ? <!-- Ubuntu 11.04 -->
 
| ? <!-- Mac OSX 10.5 -->
 
| ? <!-- Mac OSX 10.5 -->
 
| ? <!-- Mac OSX 10.6 -->
 
| ? <!-- Mac OSX 10.6 -->
Line 52: Line 62:
 
|Slicer3Visualization Tutorial
 
|Slicer3Visualization Tutorial
 
| ? <!-- Ubuntu 10.04 -->
 
| ? <!-- Ubuntu 10.04 -->
| {{Done}} <!-- Ubuntu 11.04 -->
+
| ? <!-- Ubuntu 11.04 -->
 
| ? <!-- Mac OSX 10.5 -->
 
| ? <!-- Mac OSX 10.5 -->
 
| ? <!-- Mac OSX 10.6 -->
 
| ? <!-- Mac OSX 10.6 -->
Line 80: Line 90:
 
= Screenshots =
 
= Screenshots =
  
<gallery widths="400px" perrow="4" heights="180">
+
<gallery widths="300px" perrow="4" heights="180">
 
Image:SlicerQtTesting.png|02/10/12 - QtTesting running on Slicer4 with 2 scripts
 
Image:SlicerQtTesting.png|02/10/12 - QtTesting running on Slicer4 with 2 scripts
 
Image:QtTestingPlayerWidget.png|02/27/12 - QtTesting player widget. Users can interact - Pause/Stop/Step by step - with the script.  
 
Image:QtTestingPlayerWidget.png|02/27/12 - QtTesting player widget. Users can interact - Pause/Stop/Step by step - with the script.  
 
Image:QtTestingPlayerWidgetWithLog.png|02/27/12 - QtTesting player widget give feedback with a Log.  
 
Image:QtTestingPlayerWidgetWithLog.png|02/27/12 - QtTesting player widget give feedback with a Log.  
 
</gallery>
 
</gallery>

Latest revision as of 15:57, 16 November 2017

Home < Documentation < Snapshot < Developers < QtTesting

Overview

Wiki pages related to this topic :

Source

Wish list =

See https://github.com/commontk/CTK/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20label%3AQtTesting%20


Milestones

  1. Create tutorials
  2. Upload them into the Dashboard
  3. Create metrics :
    1. Compare the scene view
    2. Snapshot/Screenshot
    3. ...

List of known issues

Below, all the known issues which will not work during a testing. [Bug tracker]

  • To resize the application - ctkVTKRenderView issue
  • To use a native menu bar - This Option is disable when we are using QtTesting
  • To use a widget which is in a menu/sub menu
  • To use a QToolButton after a click in qt_expand_button, ex: Toolbar. (work in progress)
  • To play a script in a different machine - ctkFileDialog save an absolute path when files are loaded
  • If a native file dialog is called, the playback had to be played slowly
  • Cancel after applyed in CLI Modules

Tutorials

Summary for tutorials. Tutorial can be uploaded to the dashboard, in progress or not done.

Tutorials
Name (1)
Ubuntu 10.04
(2)
Ubuntu 11.04
(3)
Mac OSX 10.5
(4)
Mac OSX 10.6
(5)
Mac OSX 10.7
(6)
Windows 7
Notes
Slicer3Minute Tutorial ? ? ? ? ? ?
Slicer3Visualization Tutorial ? ? ? ? ? ?
Programming in Slicer4 Tutorial ? ? ? ? ? ?
Manual Registration ? ? ? ? ? ?

Screenshots