xunit

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package xunit implements xUnit test framework support for C# test files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefinition

func NewDefinition() *framework.Definition

Types

type XUnitContentMatcher

type XUnitContentMatcher struct{}

XUnitContentMatcher matches xUnit specific patterns.

func (*XUnitContentMatcher) Match

type XUnitFileMatcher

type XUnitFileMatcher struct{}

XUnitFileMatcher matches *Test.cs, *Tests.cs, Test*.cs, *Spec.cs, *Specs.cs files.

func (*XUnitFileMatcher) Match

type XUnitParser

type XUnitParser struct{}

XUnitParser extracts test definitions from C# xUnit files.

func (*XUnitParser) Parse

func (p *XUnitParser) 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