phpunit

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package phpunit implements PHPUnit test framework support for PHP test files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefinition

func NewDefinition() *framework.Definition

Types

type PHPUnitContentMatcher

type PHPUnitContentMatcher struct{}

PHPUnitContentMatcher matches PHPUnit specific patterns.

func (*PHPUnitContentMatcher) Match

type PHPUnitFileMatcher

type PHPUnitFileMatcher struct{}

PHPUnitFileMatcher matches *Test.php, *Tests.php, Test*.php files.

func (*PHPUnitFileMatcher) Match

type PHPUnitParser

type PHPUnitParser struct{}

PHPUnitParser extracts test definitions from PHP PHPUnit files.

func (*PHPUnitParser) Parse

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