User's Guide
Reference Manual
Release Notes
PDF
Top
Common Test
User's Guide
Version 1.11
Expand All
Contract All
Chapters
Common Test Basics
Top of chapter
Introduction
Test Suite Organisation
Support Libraries
Suites and Test Cases
External Interfaces
Getting Started
Top of chapter
Are you new around here?
Test case execution
A simple test suite
A test suite with configuration functions
What happens next?
Installation
Top of chapter
General information
Writing Test Suites
Top of chapter
Support for test suite authors
Test suites
Init and end per suite
Init and end per test case
Test cases
Test case info function
Test suite info function
Test case groups
The parallel property and nested groups
Parallel test cases and IO
Repeated groups
Shuffled test case order
Group info function
Info functions for init- and end-configuration
Data and Private Directories
Execution environment
Timetrap timeouts
Logging - categories and verbosity levels
Illegal dependencies
Test Structure
Top of chapter
Test structure
Skipping test cases
Definition of terms
Examples and Templates
Top of chapter
Test suite example
Test suite templates
Running Tests and Analyzing Results
Top of chapter
Using the Common Test Framework
Automatic compilation of test suites and help modules
Running tests from the OS command line
Running tests from the Erlang shell or from an Erlang program
Test case group execution
Running the interactive shell mode
Step by step execution of test cases with the Erlang Debugger
Test Specifications
Running tests from the Web based GUI
Log files
HTML Style Sheets
Repeating tests
Silent Connections
External Configuration Data
Top of chapter
General
Syntax
Requiring and reading configuration data
Using configuration variables defined in multiple files
Encrypted configuration files
Opening connections by using configuration data
User specific configuration data formats
Examples of configuration data handling
Example of user specific configuration handler
Code Coverage Analysis
Top of chapter
General
Usage
Stopping the cover tool when tests are completed
The cover specification file
Cross cover analysis
Logging
Using Common Test for Large Scale Testing
Top of chapter
General
Usage
Test Specifications
Automatic startup of test target nodes
Event Handling
Top of chapter
General
Usage
Dependencies between Test Cases and Suites
Top of chapter
General
Saving configuration data
Sequences
Common Test Hooks
Top of chapter
General
Installing a CTH
CTH Scope
Manipulating tests
Synchronizing external user applications with Common Test
Example CTH
Built-in CTHs
Some thoughts about testing
Top of chapter
Goals
What to test?
Common Test User's Guide
Version 1.11
September 22, 2015