testng

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 testng implements TestNG 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

NewDefinition creates a TestNG framework definition.

Types

type TestNGContentMatcher

type TestNGContentMatcher struct{}

TestNGContentMatcher matches TestNG specific patterns.

func (*TestNGContentMatcher) Match

type TestNGFileMatcher

type TestNGFileMatcher struct{}

TestNGFileMatcher matches *Test.java and Test*.java files.

func (*TestNGFileMatcher) Match

type TestNGParser

type TestNGParser struct{}

TestNGParser extracts test definitions from Java TestNG files.

func (*TestNGParser) Parse

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