Contents

Comment

A type that represents a comment related to a test.

Declaration

struct Comment

Overview

Use this type to provide context or background information about a test’s purpose, explain how a complex test operates, or include details which may be helpful when diagnosing issues recorded by a test.

To add a comment to a test or suite, add a code comment before its @Test or @Suite attribute. See Adding comments to tests for more details.

Topics

Instance Properties

See Also

Supporting types