Freesurfer Test Plan

WORK IN PROGRESS

Introduction

This page documents the Freesurfer software test plan. A formal test plan ([http://en.wikipedia.org/wiki/Test_plan see Wikipedia reference]) gives detailed testing information regarding an upcoming testing effort, including:

Tests should cover the following categories of testing:

The Freesurfer test plan is a work-in-progress. It is one not developed top-down, but rather grown from the bottom-up as necessity and time dictate. The goal is to build a test suite that meets the criteria of a formal test plan. This will take time.

The current test suite is an ad-hoc collection of test scripts providing rudimentary testing of most of the freesurfer code-base consisting of unit, module and system tests.

Unit tests

The term 'unit test' is defined in our Freesurfer test plan to mean a test of a freesurfer binary (such as mri_convert) or smaller (a subroutine). The framework for these tests is the 'make check' framework built into the 'make' utility (and the 'automake' tools). The 'check' target of 'make' initiates the build and run of tests created by the user to test the thing that is made by the 'all' target. In freesurfer, there are a number of 'make check' tests, and 'make check' is run after 'make' on each nightly build platform (see the section [wiki:DevelopersGuide/MartinosCenter "How the nightly build works"] for details).

Module tests

System tests

Reporting