swifttesting

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package swifttesting implements Swift Testing framework support for Swift test files. Swift Testing is Apple's modern testing framework introduced with Xcode 16 (2024), using @Test and @Suite attributes instead of XCTest's naming conventions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefinition

func NewDefinition() *framework.Definition

Types

type SwiftTestingContentMatcher

type SwiftTestingContentMatcher struct{}

SwiftTestingContentMatcher matches Swift Testing-specific patterns.

func (*SwiftTestingContentMatcher) Match

type SwiftTestingFileMatcher

type SwiftTestingFileMatcher struct{}

SwiftTestingFileMatcher matches Swift test files.

func (*SwiftTestingFileMatcher) Match

type SwiftTestingParser

type SwiftTestingParser struct{}

SwiftTestingParser extracts test definitions from Swift Testing files.

func (*SwiftTestingParser) Parse

func (p *SwiftTestingParser) Parse(ctx context.Context, source []byte, filename string) (*domain.TestFile, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL