Skip to content

0.5.0 : JSON Path and GraphQL

Compare
Choose a tag to compare
@agourlay agourlay released this 27 Jan 16:20
· 3121 commits to master since this release
  • improved support for JSON Path in built-in HTTP steps using a dynamic trait.
 And assert body(root.Episodes(0).Released, "2011-04-17")
  • support for GraphQL JSON input
And assert body(
  gql"""
  {
    name: "Batman",
    realName: "Bruce Wayne",
    hasSuperpowers: false
  }
  """)
  • simplify most of the HTTP steps name by removing the extra _is
    • status_is -> status
    • body_is -> body
    • body_array_size_is -> body_array_size
    • body_jsonpath_is -> body

This change is a preparation for the new DSL landing in 0.6.0 where is will come back as a method [https://github.com//issues/20]

  • several new utils built-in steps in the HTTP DSL