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

From Slicer Wiki
Jump to: navigation, search
 
(38 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
= Overview =
 
= Overview =
  
Previews wiki page for this topic : [http://www.paraview.org/Wiki/Testing_design QtTesting library], [http://www.commontk.org/index.php/Documentation/Widget_testing CTKQtTesting]
+
Wiki pages related to this topic :  
 +
*[http://www.paraview.org/Wiki/Testing_design QtTesting library]
 +
*[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 =
 +
 +
# Create tutorials
 +
# Upload them into the Dashboard
 +
# Create metrics :
 +
## Compare the scene view
 +
## Snapshot/Screenshot
 +
## ...
 +
 +
= List of known issues =
 +
 +
Below, all the known issues which will not work during a testing. [[https://github.com/commontk/CTK/issues?labels=Testing&sort=created&direction=desc&state=open&page=1 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 =
 
= Tutorials =
 +
 +
Summary for tutorials.
 +
Tutorial can be uploaded to the dashboard, in progress or not done.
 +
 +
{|class="wikitable alternance" style="text-align:left; width:100%; border:1px solid black;"
 +
|+ '''''Tutorials'''''
 +
|-
 +
! scope=col style="background:#cde6f8;"| Name
 +
! scope=col style="background:#cde6f8;"| (1)<br>Ubuntu 10.04
 +
! scope=col style="background:#cde6f8;"| (2)<br>Ubuntu 11.04
 +
! scope=col style="background:#cde6f8;"| (3)<br>Mac OSX 10.5
 +
! scope=col style="background:#cde6f8;"| (4)<br>Mac OSX 10.6
 +
! scope=col style="background:#cde6f8;"| (5)<br>Mac OSX 10.7
 +
! scope=col style="background:#cde6f8;"| (6)<br>Windows 7
 +
! scope=col style="background:#cde6f8;"| Notes
 +
|-
 +
|Slicer3Minute Tutorial
 +
| ? <!-- Ubuntu 10.04 -->
 +
| ? <!-- Ubuntu 11.04 -->
 +
| ? <!-- Mac OSX 10.5 -->
 +
| ? <!-- Mac OSX 10.6 -->
 +
| ? <!-- Mac OSX 10.7 -->
 +
| ? <!-- Windows 7 -->
 +
|
 +
|-
 +
|Slicer3Visualization Tutorial
 +
| ? <!-- Ubuntu 10.04 -->
 +
| ? <!-- Ubuntu 11.04 -->
 +
| ? <!-- Mac OSX 10.5 -->
 +
| ? <!-- Mac OSX 10.6 -->
 +
| ? <!-- Mac OSX 10.7 -->
 +
| ? <!-- Windows 7 -->
 +
|
 +
|-
 +
|Programming in Slicer4 Tutorial
 +
| ? <!-- Ubuntu 10.04 -->
 +
| ? <!-- Ubuntu 11.04 -->
 +
| ? <!-- Mac OSX 10.5 -->
 +
| ? <!-- Mac OSX 10.6 -->
 +
| ? <!-- Mac OSX 10.7 -->
 +
| ? <!-- Windows 7 -->
 +
|
 +
|-
 +
|Manual Registration
 +
| ? <!-- Ubuntu 10.04 -->
 +
| ? <!-- Ubuntu 11.04 -->
 +
| ? <!-- Mac OSX 10.5 -->
 +
| ? <!-- Mac OSX 10.6 -->
 +
| ? <!-- Mac OSX 10.7 -->
 +
| ? <!-- Windows 7 -->
 +
|
 +
|}
 +
 +
= Screenshots =
 +
 +
<gallery widths="300px" perrow="4" heights="180">
 +
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:QtTestingPlayerWidgetWithLog.png|02/27/12 - QtTesting player widget give feedback with a Log.
 +
</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