Documentation
¶
Index ¶
Constants ¶
View Source
const ( CoverLine = "line" CoverFunc = "func" CoverFile = "file" )
The --cover modes. Line is what a bare --cover means: measure, write the profile, print the one-line percentage. Func and file also write the profile, then print a per-symbol report in the format go tool cover -func prints.
View Source
const DefaultCoverFile = "phpscript.cov"
DefaultCoverFile is where --cover writes the profile when --coverfile does not name one.
View Source
const Name = "Run .phpt test fixtures"
Name is the command title.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
Types ¶
type Options ¶
type Options struct {
Autoload string
Include string
JSON bool
Matrix bool
Verbose bool
Parallel int
Count int
Time time.Duration
Profile bool
CPUProfile string
MemProfile string
Output string
Cover string
CoverFile string
Split bool
SkipPHP bool
}
Options holds CLI flag options for the test command.
Click to show internal directories.
Click to hide internal directories.