nunit

package
v1.2.0 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 nunit implements NUnit 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 NUnitContentMatcher

type NUnitContentMatcher struct{}

NUnitContentMatcher matches NUnit specific patterns.

func (*NUnitContentMatcher) Match

type NUnitFileMatcher

type NUnitFileMatcher struct{}

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

func (*NUnitFileMatcher) Match

type NUnitParser

type NUnitParser struct{}

NUnitParser extracts test definitions from C# NUnit files.

func (*NUnitParser) Parse

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