testscope

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package testscope selects default Go tests for local development feedback. It does not certify tagged suites, external topologies, or other platforms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	Directory string
	Packages  []string
	Reasons   []string
}

Module describes one isolated module's default test execution.

type Options

type Options struct {
	Base string
	Full bool
}

Options controls the comparison reference and explicit full-suite override.

type Plan

type Plan struct {
	Base     string
	Changed  []string
	Modules  []Module
	Fallback string
}

Plan records the resolved change set and the tests selected from it.

func Build

func Build(ctx context.Context, root string, opts Options) (Plan, error)

Build computes a deterministic plan without changing the checkout or index.

Jump to

Keyboard shortcuts

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