Release v0.5.0
·
284 commits
to master
since this release
Release notes:
- module provider now part of framework module
- async steps add
- step assertions wrapper add
- before/after all hooks add to runner
- runner now require call RunTests() method to execute tests
- all suite tests and hooks now require provider.T interface as an argument. i.e.:
func (s *SomeSuite) TestSome(t provider.T) {
...
}
- all allure interactions now under provider.T interface
- add StepCtx interface to interactions inside the step context (inner steps, step failures, etc)
- all WithStep functions now require StepCtx interface as an argument. i.e.:
func (s *StepTreeDemoSuite) TestInnerSteps(t provider.T) {
t.Epic("Demo")
t.Feature("Inner Steps")
t.Title("Simple Nesting")
t.Description(`
Step A is parent step for Step B and Step C
Call order will be saved in allure report
A -> (B, C)`)
t.Tags("Steps", "Nesting")
t.WithNewStep("Step A", func(ctx provider.StepCtx) {
ctx.NewStep("Step B")
ctx.NewStep("Step C")
})
}
- add StepLog and StepLogf funcitons
- async tests run support add in the suites