godog v0.12.0 Release Notes
-
โ Added
- ๐ Support for step definitions without return (364 - titouanfreville)
- Contextualized hooks for scenarios and steps (409 - vearutop)
- Step result status in After hook (409 - vearutop)
- ๐ Support auto converting doc strings to plain strings (380 - chirino)
- โ Use multiple formatters in the same test run (392 - vearutop)
- โ Added
RetrieveFeatures()
method togodog.TestSuite
(276 - radtriste) - โ Added support to create custom formatters (372 - leviable)
๐ Changed
- โฌ๏ธ Upgraded gherkin-go to v19 and messages-go to v16 (402 - mbow)
- ๐ Generate simpler snippets that use *godog.DocString and *godog.Table (379 - chirino)
๐ Deprecated
ScenarioContext.BeforeScenario
, useScenarioContext.Before
(409) - vearutop)ScenarioContext.AfterScenario
, useScenarioContext.After
(409) - vearutop)ScenarioContext.BeforeStep
, useScenarioContext.StepContext().Before
(409) - vearutop)ScenarioContext.AfterStep
, useScenarioContext.StepContext().After
(409) - vearutop)
๐ Fixed