code

package
v0.125.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 2 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 `it|test`.
	Title string
	// Tags is an optional list of tags. This is simply a space delimited
	// concatenation of all tags defined for the testcase.
	Tags string
}

TestCase describes the metadata for a cypress test case parsed from a cypress 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