nbtest

package
v0.0.0-...-4d8c88f Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Overview

This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/.

This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/.

This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/.

This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/.

This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GatherFilesToTest

func GatherFilesToTest(testPath string) []string

func TestPath

func TestPath(testPath string)

Types

type JSError

type JSError struct {
	Message      string `json:"message"`
	Stack        string `json:"stack"`
	LineNumber   int    `json:"lineNumber"`
	ColumnNumber int    `json:"columnNumber"`
	FileName     string `json:"fileName"`
}

type TestResult

type TestResult struct {
	Name string
	URL  string

	// "PASS"" | "FAIL" | "SKIP"
	Status  string
	Message string

	Timing        time.Duration
	InternalError error
}

type TestRunner

type TestRunner struct {
	// contains filtered or unexported fields
}

func NewTestRunner

func NewTestRunner(testPath string, headless bool, serveMode bool, timeout time.Duration) *TestRunner

func (*TestRunner) PrintTestResult

func (r *TestRunner) PrintTestResult(tr *TestResult)

Directories

Path Synopsis
This Source Code Form is subject to the terms of the Mozilla Public * License, v.
This Source Code Form is subject to the terms of the Mozilla Public * License, v.

Jump to

Keyboard shortcuts

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