cornichon v0.19.5 Release Notes

Release Date: 2020-10-15 // about 4 years ago

Previous changes from v0.19.4

  • 🆕 new features and improvements

    • Introduce compareWithPreviousValue for Json and String session_value using an Assertion (#396, #394) @agourlay

      And assert session_value("my-key").asJson.path("product.price").compareWithPreviousValue[Int] { case (prev, current) => LessThanAssertion(prev, current) }And assert session_value("my-key").compareWithPreviousValue { case (prev, current) => LessThanAssertion(prev.length, current.length) }

    • ➕ Add JsonPath support to JsonValuesStep (#395) @agourlay

      And assert session_values("k1", "k2").asJson.path("a.b.c").areEquals

    👌 Improve error reporting for cornichon-http-mock (#393) @agourlay

    📚 Split cornichon-check documentation in several pages for readability 410dcc5 @agourlay

    🐛 bug fixes

    • 🛠 Fix error message in cornichon-check for invalid transition definition 610e914 @agourlay

    ⚡️ dependency updates