ExampleMetadata

public class ExampleMetadata : _ExampleMetadataBase

A class that encapsulates information about an example, including the index at which the example was executed, as well as the example itself.

  • The example for which this metadata was collected.

    Declaration

    Swift

    public let example: ExampleBase
  • The index at which this example was executed in the test suite.

    Declaration

    Swift

    public let exampleIndex: Int