ct_testspec

Module

ct_testspec

Module Summary

Parsing of test specifications for Common Test.

Since

Module ct_testspec was introduced in OTP 19.3.

Description

Parsing of test specifications for Common Test.

This module exports help functions for parsing of test specifications.

Exports

get_tests(SpecsIn) -> {ok, [{Specs,Tests}]} | {error, Reason}
OTP 19.3

Types

Parse the given test specification files and return the tests to run and skip.

If SpecsIn=[Spec1,Spec2,...], separate tests will be created per specification. If SpecsIn=[[Spec1,Spec2,...]], all specifications will be merge into one test.

For each test, a {Specs,Tests} element is returned, where Specs is a list of all included test specifications, and Tests specifies actual tests to run/skip per node.

© 2010–2020 Ericsson AB
Licensed under the Apache License, Version 2.0.