junit4

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: 9 Imported by: 0

Documentation

Overview

Package junit4 implements JUnit 4 test framework support for Java test files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefinition

func NewDefinition() *framework.Definition

Types

type JUnit4ContentMatcher

type JUnit4ContentMatcher struct{}

JUnit4ContentMatcher matches JUnit 4 specific patterns.

func (*JUnit4ContentMatcher) Match

type JUnit4Parser

type JUnit4Parser struct{}

JUnit4Parser extracts test definitions from Java JUnit 4 files.

func (*JUnit4Parser) Parse

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