code

package
v0.186.4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestCase

type TestCase struct {
	// Title is the name of the test case, the first argument to `test(.describe)`.
	Title string
}

TestCase describes the metadata for a playwright test case parsed from a playwright spec file.

func Parse

func Parse(input string) []TestCase

Parse takes the contents of a test file and parses testcases

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL