Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StubServer ¶
type StubServer struct {
// contains filtered or unexported fields
}
StubServer represents a running instance of a scripted bolt stub server
func NewStubServer ¶
func NewStubServer(port int, script string) *StubServer
NewStubServer launches the stub server on the given port with the given script
func (*StubServer) Close ¶
func (server *StubServer) Close()
Close releases all process related resources
func (*StubServer) Finished ¶
func (server *StubServer) Finished() bool
Finished expects the stub server to already be exited returns whether it was exited with success code. If the process did not exit as expected, it returns false (or fails the test)
Click to show internal directories.
Click to hide internal directories.