pytest

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefinition

func NewDefinition() *framework.Definition

Types

type PytestConfigContentMatcher

type PytestConfigContentMatcher struct{}

PytestConfigContentMatcher matches pyproject.toml with [tool.pytest] section.

func (*PytestConfigContentMatcher) Match

type PytestConfigParser added in v1.5.0

type PytestConfigParser struct{}

func (*PytestConfigParser) Parse added in v1.5.0

func (p *PytestConfigParser) Parse(ctx context.Context, configPath string, content []byte) (*framework.ConfigScope, error)

type PytestContentMatcher

type PytestContentMatcher struct{}

PytestContentMatcher matches pytest-specific patterns.

func (*PytestContentMatcher) Match

type PytestFileMatcher

type PytestFileMatcher struct{}

PytestFileMatcher matches test_*.py and *_test.py files.

func (*PytestFileMatcher) Match

type PytestParser

type PytestParser struct{}

PytestParser extracts test definitions from Python pytest files.

func (*PytestParser) Parse

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