Documentation
¶
Index ¶
- type NoopStepCtx
- func (NoopStepCtx) Assert() provider.Asserts
- func (NoopStepCtx) Break(_ ...interface{})
- func (NoopStepCtx) Breakf(_ string, _ ...interface{})
- func (NoopStepCtx) Broken()
- func (NoopStepCtx) BrokenNow()
- func (NoopStepCtx) CurrentStep() *allure.Step
- func (NoopStepCtx) Error(_ ...interface{})
- func (NoopStepCtx) Errorf(_ string, _ ...interface{})
- func (NoopStepCtx) Fail()
- func (NoopStepCtx) FailNow()
- func (NoopStepCtx) Log(_ ...interface{})
- func (NoopStepCtx) LogStep(_ ...interface{})
- func (NoopStepCtx) Logf(_ string, _ ...interface{})
- func (NoopStepCtx) LogfStep(_ string, _ ...interface{})
- func (NoopStepCtx) Name() string
- func (NoopStepCtx) NewStep(_ string, _ ...*allure.Parameter)
- func (NoopStepCtx) Require() provider.Asserts
- func (NoopStepCtx) Step(_ *allure.Step)
- func (NoopStepCtx) WithAttachments(_ ...*allure.Attachment)
- func (s NoopStepCtx) WithNewAsyncStep(_ string, fn func(provider.StepCtx), params ...*allure.Parameter)
- func (NoopStepCtx) WithNewAttachment(_ string, _ allure.MimeType, _ []byte)
- func (NoopStepCtx) WithNewParameters(_ ...interface{})
- func (NoopStepCtx) WithNewStep(_ string, fn func(provider.StepCtx), _ ...*allure.Parameter)
- func (NoopStepCtx) WithParameters(_ ...*allure.Parameter)
- func (NoopStepCtx) WithStatusDetails(_, _ string)
- type StepCtx
- type T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoopStepCtx ¶
type NoopStepCtx struct{}
NoopStepCtx allows running repository methods without an external step framework.
func (NoopStepCtx) Assert ¶
func (NoopStepCtx) Assert() provider.Asserts
func (NoopStepCtx) Break ¶
func (NoopStepCtx) Break(_ ...interface{})
func (NoopStepCtx) Breakf ¶
func (NoopStepCtx) Breakf(_ string, _ ...interface{})
func (NoopStepCtx) Broken ¶
func (NoopStepCtx) Broken()
func (NoopStepCtx) BrokenNow ¶
func (NoopStepCtx) BrokenNow()
func (NoopStepCtx) CurrentStep ¶
func (NoopStepCtx) CurrentStep() *allure.Step
func (NoopStepCtx) Error ¶
func (NoopStepCtx) Error(_ ...interface{})
func (NoopStepCtx) Errorf ¶
func (NoopStepCtx) Errorf(_ string, _ ...interface{})
func (NoopStepCtx) Fail ¶
func (NoopStepCtx) Fail()
func (NoopStepCtx) FailNow ¶
func (NoopStepCtx) FailNow()
func (NoopStepCtx) Log ¶
func (NoopStepCtx) Log(_ ...interface{})
func (NoopStepCtx) LogStep ¶
func (NoopStepCtx) LogStep(_ ...interface{})
func (NoopStepCtx) Logf ¶
func (NoopStepCtx) Logf(_ string, _ ...interface{})
func (NoopStepCtx) LogfStep ¶
func (NoopStepCtx) LogfStep(_ string, _ ...interface{})
func (NoopStepCtx) Name ¶
func (NoopStepCtx) Name() string
func (NoopStepCtx) Require ¶
func (NoopStepCtx) Require() provider.Asserts
func (NoopStepCtx) Step ¶
func (NoopStepCtx) Step(_ *allure.Step)
func (NoopStepCtx) WithAttachments ¶
func (NoopStepCtx) WithAttachments(_ ...*allure.Attachment)
func (NoopStepCtx) WithNewAsyncStep ¶
func (NoopStepCtx) WithNewAttachment ¶
func (NoopStepCtx) WithNewAttachment(_ string, _ allure.MimeType, _ []byte)
func (NoopStepCtx) WithNewParameters ¶
func (NoopStepCtx) WithNewParameters(_ ...interface{})
func (NoopStepCtx) WithNewStep ¶
func (NoopStepCtx) WithParameters ¶
func (NoopStepCtx) WithParameters(_ ...*allure.Parameter)
func (NoopStepCtx) WithStatusDetails ¶
func (NoopStepCtx) WithStatusDetails(_, _ string)
type StepCtx ¶
StepCtx is the repository step contract.
func NewTestingStepCtx ¶
NewTestingStepCtx adapts testing.T to provider.StepCtx-compatible contract.
Click to show internal directories.
Click to hide internal directories.