dotnet

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: AGPL-3.0, AGPL-3.0-or-later Imports: 7 Imported by: 0

Documentation

Overview

Package dotnet is the C# implementation of the affected-selection language seam.

A test unit is one C# source file. Its identity carries the exact VSTest FullyQualifiedName filter for the statically discovered test methods in that file, so it is addressable despite VSTest having no source-file filter. ProjectReference edges connect each test file to its compilation closure.

Index

Constants

View Source
const (
	FrontierAmbiguousAttribute = "dotnet:ambiguous-test-attribute"
	FrontierDynamicDiscovery   = "dotnet:dynamic-test-discovery"
	FrontierFeatureOwnership   = "dotnet:gherkin-ownership-unresolved"
	FrontierGeneratedSource    = "dotnet:generated-test-source"
	FrontierProjectConfig      = "dotnet:project-configuration-unresolved"
	FrontierProjectReference   = "dotnet:project-reference-unresolved"
	FrontierRunner             = "dotnet:test-runner-filter-unresolved"
	FrontierUnparsedSource     = "dotnet:unparsed-source"
	FrontierUnassignedSource   = "dotnet:source-project-unresolved"
	FrontierUnsupportedRunner  = "dotnet:unsupported-test-framework"
)

Frontier reasons this plugin can raise.

Variables

This section is empty.

Functions

func Address

func Address(id string) (project, filter string, ok bool)

Address decodes a test unit identity into the project and VSTest filter used to run it: dotnet test <project> --filter <filter>.

Types

type Language

type Language struct{}

Language observes SDK-style C# projects under one repository root.

func New

func New() Language

New returns the .NET language plugin.

func (Language) Name

func (Language) Name() string

Name is the plugin namespace.

func (Language) Owns

func (Language) Owns(relative string) bool

Owns reports whether a path is C# source text. Gherkin and YAML ownership is deliberately not claimed by a host-language plugin.

func (Language) Units

func (Language) Units(root string) (affected.Result, error)

Units observes C# compilation projects and statically discoverable tests.

Jump to

Keyboard shortcuts

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