Hacker News new | ask | show | jobs
by fred1268 1049 days ago
okapi is a lightweight tool to help you write your own API Tests as easily as you would write your Unit Tests. Define your tests, payloads and expected results in json, run okapi, and you are done!

Tests make full use of all your cores by running in parallel by default (full sequential and file parallel modes also available). You can easily set up complex rules for expected results, capture previous results to reuse later, etc.

Last but not least, okapi offers a simple and easy to use API to integrate with your own software (okapi does not have any dependencies beside my other 350 LoC lib, go-clap that you can also find on my GitHub).