6. Test Structure
6 Test Structure
6.1 General
A test is performed by running one or more test suites. A test suite consists of test cases, configuration functions, and information functions. Test cases can be grouped in so called test case groups. A test suite is an Erlang module and test cases are implemented as Erlang functions. Test suites are stored in test directories.
6.2 Skipping Test Cases
Certain test cases can be skipped, for example, if you know beforehand that a specific test case fails. The reason can be functionality that is not yet implemented, a bug that is known but not yet fixed, or some functionality that does not work or is not applicable on a specific platform.
Test cases can be skipped in the following ways:
- Using
skip_suites
andskip_cases
terms in登录查看完整内容