runtimex

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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) NewStep

func (NoopStepCtx) NewStep(_ string, _ ...*allure.Parameter)

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 (s NoopStepCtx) WithNewAsyncStep(_ string, fn func(provider.StepCtx), params ...*allure.Parameter)

func (NoopStepCtx) WithNewAttachment

func (NoopStepCtx) WithNewAttachment(_ string, _ allure.MimeType, _ []byte)

func (NoopStepCtx) WithNewParameters

func (NoopStepCtx) WithNewParameters(_ ...interface{})

func (NoopStepCtx) WithNewStep

func (NoopStepCtx) WithNewStep(_ string, fn func(provider.StepCtx), _ ...*allure.Parameter)

func (NoopStepCtx) WithParameters

func (NoopStepCtx) WithParameters(_ ...*allure.Parameter)

func (NoopStepCtx) WithStatusDetails

func (NoopStepCtx) WithStatusDetails(_, _ string)

type StepCtx

type StepCtx = provider.StepCtx

StepCtx is the repository step contract.

func NewTestingStepCtx

func NewTestingStepCtx(tb testing.TB) StepCtx

NewTestingStepCtx adapts testing.T to provider.StepCtx-compatible contract.

type T

type T interface {
	Helper()
	Fatalf(format string, args ...any)
	Logf(format string, args ...any)
	Context() context.Context
}

T — минимальный контракт, совместимый с provider.T/testing.T через адаптер.

func NewTestingT

func NewTestingT(tb testing.TB, ctx context.Context) T

NewTestingT adapts testing.T to runtimex.T.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL