Documentation ¶
Overview ¶
Package clisuite to test CLI commands
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestSuite ¶
type TestSuite struct { suite.Suite Folder string Ctl *cli.Cli // Out is the outpub buffer Out bytes.Buffer }
TestSuite provides suite for testing HTTP
func (*TestSuite) EqualOut ¶
EqualOut is a helper method to assert that the out stream contains the supplied
func (*TestSuite) HasNoText ¶
HasNoText is a helper method to assert that the out stream does contains the supplied text somewhere
func (*TestSuite) HasText ¶
HasText is a helper method to assert that the out stream contains the supplied text somewhere
func (*TestSuite) TearDownSuite ¶
func (s *TestSuite) TearDownSuite()
TearDownSuite called once to destroy
func (*TestSuite) TearDownTest ¶
func (s *TestSuite) TearDownTest()
TearDownTest called after each test
Click to show internal directories.
Click to hide internal directories.