Show HN: Turn your OpenAPI spec into negative tests

(github.com)

49 points | by ludovicianul 6 days ago ago

2 comments

  • andreareina 3 days ago ago

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

    • ludovicianul 3 days ago 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`.