junit5

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package junit5 implements JUnit 5 (Jupiter) 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 JUnit5ContentMatcher

type JUnit5ContentMatcher struct{}

JUnit5ContentMatcher matches JUnit 5 specific patterns.

func (*JUnit5ContentMatcher) Match

type JUnit5FileMatcher

type JUnit5FileMatcher struct{}

JUnit5FileMatcher matches *Test.java and Test*.java files.

func (*JUnit5FileMatcher) Match

type JUnit5Parser

type JUnit5Parser struct{}

JUnit5Parser extracts test definitions from Java JUnit 5 files.

func (*JUnit5Parser) Parse

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