cmdcheck

package
v0.24.8 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2024 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Overview

Runs tests on an existing story database.

Index

Constants

This section is empty.

Variables

View Source
var CmdCheck = &base.Command{
	Run:       runCheck,
	Flag:      buildFlags(),
	UsageLine: "tap check [-in path] [name]",
	Short:     "run tests on existing stories",
	Long: `Loads an playable database and runs (one or more) test scripts that it contains.

Runs all unit tests by default, can specify a name to run a specific one.
`,
}

Functions

func CheckFile

func CheckFile(inFile, testName string, opt qna.Options) (ret int, err error)

open db, select tests, de-gob and run them each in turn. print the results, only error on critical errors

Types

This section is empty.

Jump to

Keyboard shortcuts

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