pytest

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: 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 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