Contents

Traits

Annotate test functions and suites, and customize their behavior.

Overview

Pass built-in traits to test functions or suite types to comment, categorize, classify, and modify the runtime behavior of test suites and test functions. Implement the TestTrait, and SuiteTrait protocols to create your own types that customize the behavior of your tests.

Topics

Customizing runtime behaviors

Running tests serially or in parallel

Annotating tests

Handling issues

Creating custom traits

Supporting types