Settings

Theme

A declartive API testing tool

github.com

2 points by sigoden 5 years ago · 1 comment

Reader

cdent 5 years ago

Disclaimer: I'm the author of gabbi.

It's great to see more and more API testing tools that use a format intending to be readable.

I personally think YAML is a bit more readable for humans so that's what I used when I created gabbi. Here's a similar test to one of the examples from apitest:

  tests:

  - name: httpbin post
    POST: https://httpbin.org/post
    verbose: true
    request_headers:
      content-type: application/json
    data:
      foo1: bar1
      foo2: Bar2

    response_headers:
      content-type: application/json
    response_json_paths:
      $.json.foo1: bar1
      $.json.foo2: Bar2
      $.headers.Host: httpbin.org
https://github.com/cdent/gabbi

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection