Documentation ¶
Index ¶
Constants ¶
View Source
const ScriptWorkerSh = `#!/usr/bin/env bash
echo $@
printenv
`
ScriptWorkerSh is a script that sends sys.argv and environ back to Box to test Boxes
Variables ¶
This section is empty.
Functions ¶
func RegisterSuite ¶
func RegisterSuite(boxConstructor BoxConstructor, opts isolate.Profile, skipCheck SkipCheck)
RegisterSuite registers a new suite for a provided box
Types ¶
type BoxConstructor ¶
BoxConstructor returns a Box to be tested
type BoxSuite ¶
type BoxSuite struct { Constructor BoxConstructor SkipCheck isolate.Box // contains filtered or unexported fields }
BoxSuite is a suite with specification tests for various Box implementations
func (*BoxSuite) SetUpSuite ¶
SetUpSuite sets up the gocheck test suite.
func (*BoxSuite) TearDownSuite ¶ added in v0.1.5
TearDownSuite closes the Box
Click to show internal directories.
Click to hide internal directories.