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

From Slicer Wiki
Jump to: navigation, search
Line 16: Line 16:
 
Test data are expected to be stored in folders like:
 
Test data are expected to be stored in folders like:
  
* <code>Nightly/Testing/Baseline</code>
+
* <code>Data/Application/Nightly/Testing/Baseline</code>
* <code>Nightly/Testing/Input</code>
+
* <code>Data/Application/Nightly/Testing/Input</code>
* <code>X.Y/Testing/Baseline</code>
+
* <code>Data/Modules/&lt;NameOfYourModule&gt;/Nightly/Testing/Baseline</code>
* <code>X.Y/Testing/Input</code>
+
* <code>Data/Modules/&lt;NameOfYourModule&gt;/Nightly/Testing/Input</code>
 +
 
 +
* <code>Data/Application/X.Y/Testing/Baseline</code>
 +
* <code>Data/Application/X.Y/Testing/Input</code>
 +
* <code>Data/Modules/&lt;NameOfYourModule&gt;/X.Y/Testing/Baseline</code>
 +
* <code>Data/Modules/&lt;NameOfYourModule&gt;/X.Y/Testing/Input</code>
  
 
where  
 
where  
  
 +
* <NameOfYourModule>: name of the folder in the source repository, it should also match the module pages created on the slicer wiki.
 
* <code>Input</code>: Used to store testing input data.
 
* <code>Input</code>: Used to store testing input data.
 
* <code>Baseline</code>: Used to store the baseline images for regression tests.
 
* <code>Baseline</code>: Used to store the baseline images for regression tests.

Revision as of 14:34, 7 November 2012

Home < Documentation < Nightly < Developers < Tutorials < UploadTestData

Introduction

Slicer has adopted MIDAS to store testing and algorithm validation dataset. For this purpose, we have created a dedicated NA-MIC MIDAS community

In the NA-MIC community Slicer/Data folder, you will find:

To organize the test data based on Slicer major release, you will find sub folders like:

  • Nightly
  • 4.2
  • 4.3

Note Each time a release of Slicer is done, for both the Application and Modules/<ModuleName> folders, the current Nightly is copied into an X.Y folders where X and Y corresponds to the major and minor release number of Slicer.

Test data are expected to be stored in folders like:

  • Data/Application/Nightly/Testing/Baseline
  • Data/Application/Nightly/Testing/Input
  • Data/Modules/<NameOfYourModule>/Nightly/Testing/Baseline
  • Data/Modules/<NameOfYourModule>/Nightly/Testing/Input
  • Data/Application/X.Y/Testing/Baseline
  • Data/Application/X.Y/Testing/Input
  • Data/Modules/<NameOfYourModule>/X.Y/Testing/Baseline
  • Data/Modules/<NameOfYourModule>/X.Y/Testing/Input

where

  • <NameOfYourModule>: name of the folder in the source repository, it should also match the module pages created on the slicer wiki.
  • Input: Used to store testing input data.
  • Baseline: Used to store the baseline images for regression tests.

Upload test data

  1. Send an email on the developer list asking to be added to the DataManager group on NA-MIC community. That will grant you read/write permissions to the Data folder and sub-folders.
  2. Create a sub folder for your Module.
  3. Create a Nightly sub-folder.
  4. Upload data in folders Nightly/Testing/Baseline and Nightly/Testing/Input