Difference between revisions of "Documentation/Nightly/Developers/Tutorials/SelfTestModule"

From Slicer Wiki
Jump to: navigation, search
Line 1: Line 1:
 
== Goal ==
 
== Goal ==
  
 +
After [http://www.na-mic.org/Wiki/index.php/2012_Summer_Project_Week:SelfTesting review and work by the slicer community], a framework is in place that supports Built In Self Tests for slicer. 
 +
 +
Important features include:
 +
* Tests are available as part of the binary distributions of slicer, so users can confirm correct behavior on their systems
 +
* The same tests are run as part of the nightly test process and submitted to [http://slicer.cdash.org/index.php?project=Slicer4 the slicer dashboard].
 +
* Developers can efficiently develop the tests by reloading python scripts without needing to exit slicer.
 +
 +
This page provides an overview of the implementation and use of these scripts.
  
 
== Caveats ==
 
== Caveats ==

Revision as of 22:25, 11 September 2012

Home < Documentation < Nightly < Developers < Tutorials < SelfTestModule

Goal

After review and work by the slicer community, a framework is in place that supports Built In Self Tests for slicer.

Important features include:

  • Tests are available as part of the binary distributions of slicer, so users can confirm correct behavior on their systems
  • The same tests are run as part of the nightly test process and submitted to the slicer dashboard.
  • Developers can efficiently develop the tests by reloading python scripts without needing to exit slicer.

This page provides an overview of the implementation and use of these scripts.

Caveats

This project is actively evolving and is being worked on

Prerequisites

Creating the Skeleton

Test Data

The Module in Slicer

Writing/Refining the Code

Adding the Result to Slicer