Add functions to logging with automatic step creation
koodeex opened this issue · 0 comments
koodeex commented
Is your feature request related to a problem? Please describe.
Add functions to logging with automatic step creation. It will reduce amount of calls for test describing
Describe the solution you'd like
func TestSome(t provider.T) {
t.LogStep("Step1")
t.LogfStep("%s, %s", "arg1", "arg2")
t.WithNewStep("Step3", func(sCtx provider.StepCtx) {
sCtx.LogStep("Step3.1")
sCtx.LogfStep("Step3.2: %s, %s", "arg1", "arg2")
})
}