| |
Cantata
is IPL's original and well proven testing tool which is
designed to offer a complete solution to the verification
of C software. Cantata provides facilities in three
main areas:
| Dynamic Testing: Cantata
verifies that software behaves as expected,
providing a formal framework for the
specification, execution, documentation, reuse
and repetition of dynamic tests. A full report on
test execution is generated for diagnostic and
quality assurance purposes. |
| Coverage Analysis: Cantata provides
a number of metrics which can be used to measure
the thoroughness of dynamic testing at the unit,
task/program and even system level. Reports
detailing coverage against statement, branch,
condition and MC/DC metrics are available. |
| Static Analysis: Cantata allows the user to
enforce coding standards, and assess the
complexity and maintainability of software. |
Facilities in these three
areas are completely integrated allowing users to specify
pass/fail criteria as any combination of dynamic testing,
coverage analysis, and static analysis measures.
Cantata caters for the
full ANSI C language syntax and is available for a wide
variety of operating systems. Cantata can be ported to
target architectures so that tests can run unchanged in
the target environment.
Cantata is used to support
the testing of some of the world's most critical C
software development projects in telecommunications,
aircraft avionics, defence, air traffic management,
broadcasting and healthcare systems.
| Dynamic Testing |
Cantata
provides the following features for dynamic
testing:
- Software
Execution: Running the software under
test to check that it behaves as
expected.
- Data
Checking: Built-in checks for the C
standard types. Support for checking
user-defined types.
- Test Script
Generation: Automated generation of C
test scripts from user-defined Test Case
Definition files. Features automated data
initialisation and anti-data-corruption
checking of test data.
- Simulation:
Simulates functions not in the current
build with a programmable stubbing
mechanism. Allows users to check
parameters and global data sent to stubs
and set data returned from stubs.
Different data sets can be used each time
a stub is called.
- Timing
Facilities: Checks the execution time of
the software under test.
- Observation
Check: Can prompt the user to verify the
occurrence of physical events.
|
| Coverage Analysis |
Cantata
provides the following code coverage metrics:
- Branch
(Decision): Code branches covered.
- Statement:
Code statements covered.
- Data Value
Coverage: Checks that variables have held
a series of user-defined values.
- Boolean
Operator Coverage (Condition Coverage):
Coverage of operators in Boolean
expressions, eg. AND and OR operators.
In all cases, full
diagnostic output is provided giving details of
code constructs covered and those not exercised
by testing.
An additional
high-integrity package is available which:
- Provides
MC/DC Coverage: as required by the RTCA
DO-178B software development standard for
civil avionics systems.
- Allows the
user to audit the development of the
Cantata product in order to satisfy the
requirements of safety critical
development standards.
|
| Static Analysis |
Over
eighty code complexity and maintainability
metrics including:
- File/function
source code lines
- Functions in
source file
- Parameters
- Declaration
statements
- Executable
statements
- Blank lines
- Unused
parameters
- Loops (Do,
For & While)
- IF statements
- Switch
statements
- Return
statements
- McCabe's
cyclomatic complexity metric
- Essential
McCabe
- Halstead
- Average &
maximum nesting level etc.
|
| Other
Details |
Cantata
supports both host and target testing with
complete test portability between host and target
systems. Cantata is available for most UNIX
systems, Windows (3.1, 95 and NT) and most target
systems. Cantata
supports all ANSI C compilers and provides
partial support for K&R C compilers. Cantata
can also be used to test simple C++ code.
Cantata was
developed under the control of IPL's Quality
Management System which is accredited to
ISO9000-3 (TickIT)
|
Last updated: 01/08/97 08:44
|