Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Turn your OpenAPI spec into negative tests (github.com/dochia-dev)
50 points by ludovicianul 72 days ago | hide | past | favorite | 2 comments


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


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`.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: