tests

package
v0.0.0-...-6d3228f Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestDesc

type TestDesc struct {
	Name string
}

TestDesc is used for describing a single test of some test suite. This structure is required by revel test cmd.

type TestResult

type TestResult struct {
	Name         string
	Passed       bool
	ErrorHTML    template.HTML
	ErrorSummary string
}

TestResult represents the results of running a single test of some test suite. This structure is required by revel test cmd.

type TestSuiteDesc

type TestSuiteDesc struct {
	Name  string
	Tests []TestDesc

	// Elem is reflect.Type which can be used for accessing methods
	// of the test suite.
	Elem reflect.Type
}

TestSuiteDesc is used for storing information about a single test suite. This structure is required by revel test cmd.

type TestSuiteResult

type TestSuiteResult struct {
	Name    string
	Passed  bool
	Results []TestResult
}

TestSuiteResult stores the results the whole test suite. This structure is required by revel test cmd.

Jump to

Keyboard shortcuts

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