Settings

Theme

Show HN: Turn your OpenAPI spec into negative tests

github.com

50 points by ludovicianul 2 months ago · 2 comments

Reader

andreareina 2 months ago

Went looking for and could not find an example of the generated test payloads.

  • ludovicianulOP 2 months ago

    Author here. It generates valid API requests based on your OpenAPI description. It also has generators that try to add meaningful values in the generated fields. You can do a simple run to see how it goes for your API on a single endpoint with the HappyPath playbook: `dochia test -c api.yaml -s http://localhost:8080 --path /test-path --playbook Happy`.

Keyboard Shortcuts

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