Skip to content

0.16.3

Compare
Choose a tag to compare
@agourlay agourlay released this 02 Oct 12:09
· 1880 commits to master since this release

bug fixes

  • fix scenario filtering for cornichon-test-framework #185

improvements

  • when ignoring scenarios or features, the reason passed as parameter will now be printed in the logs to ease debugging

  • a new function ignoredIfDefined is available on Scenario and Feature to enable dynamic toggling based on configuration.

val config = loadMyConfig()

val toggle: Option[String] =
  if (config.ignoreThatFeature) Some("ignored due to local configuration") else None  

def feat = Feature("important feature).ignoredIfDefined(toggle) {...}

dependency updates

  • cats 1.4.0
  • circe 0.10.0