Documentation ¶
Index ¶
- type TknApprovalTaskRunner
- func (tknApprovalTaskRunner TknApprovalTaskRunner) Assert(t *testing.T, exp icmd.Expected, args ...string) *icmd.Result
- func (tknApprovalTaskRunner TknApprovalTaskRunner) MustSucceed(t *testing.T, args ...string) *icmd.Result
- func (tknApprovalTaskRunner TknApprovalTaskRunner) Run(args ...string) *icmd.Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TknApprovalTaskRunner ¶
type TknApprovalTaskRunner struct {
// contains filtered or unexported fields
}
func NewTknApprovalTaskRunner ¶
func NewTknApprovalTaskRunner() (TknApprovalTaskRunner, error)
func (TknApprovalTaskRunner) Assert ¶
func (tknApprovalTaskRunner TknApprovalTaskRunner) Assert(t *testing.T, exp icmd.Expected, args ...string) *icmd.Result
Assert runs a command and verifies exit code (0)
func (TknApprovalTaskRunner) MustSucceed ¶
func (tknApprovalTaskRunner TknApprovalTaskRunner) MustSucceed(t *testing.T, args ...string) *icmd.Result
MustSucceed asserts that the command ran with 0 exit code
Click to show internal directories.
Click to hide internal directories.