FAMILY

Ada Test Script Language

Purpose

The FAMILY instruction groups tests by families or classes.

Syntax

FAMILY <family_name> { , <family_name>}

Argument

<family_name> is a mandatory identifier indicating the name of the test family. Typically, you could specify nominal, structural, or robustness families.

Description

The FAMILY instruction appears within TEST blocks, where it defines the families to which the test belongs.

When you run the test sequence, you can request that only tests of a given family are executed.

A test can belong to several families. In this case, the FAMILY instruction contains a <family_name> list, separated by commas.

The FAMILY instruction must be located before the first ELEMENT block of the TEST block and must be unique in the TEST block.

The FAMILY instruction is optional. If it is omitted, a warning message is generated and the test belongs to every family.

Example

 TEST 1

   FAMILY nominal

   COMMENT histogram computation on a black image

   ELEMENT

 

Related Topics

ELEMENT | TEST