About Test Assertions
Generation of Test
Assertions identifies:
Inconsistencies
Omissions
Ambiguities
Specification errors
What is OCAP?
Short iTV Glossary
UniSoft's Partners
OCAP Headend Tools
OCAP Development Tools
iTV Conformance Testing


Definition

A test assertion (also known as a test description), details an individual unit of functionality or behavior derived from statements contained in the API specification to be tested. Test descriptions are produced in native language and describe the state required prior to the aspect of the API call being tested, the parameters supplied to the call and the expected return value, error condition and/or events generated. (Reference: IEEE Std 2003).

Assertions take one of the following forms:

  1. Bold assertion: in the form

    The Ford motorcar is black.

  2. Cause/effect behaviour using the form

    when, then

    such as

    When cause occurs, then effect results.

  3. Conditional assertion, in the form

    If <condition>: when, then

    or

    If <condition>: <bold assertion>

    such as

    If <optional feature is supported>: when cause occurs, then effect results.


Last Updated: September 23, 2007; Copyright © 2002-2007 UniSoft Corporation.