Just-API is a declarative, specification based test framework for
GraphQL (or any HTTP-based) APIs. Users can test APIs without writing code, but they can also tap into code when they want to. It reads API test specification from YAML files and runs them in serial/parallel mode. Test reports can be generated in several formats including HTML and JSON.
In simple terms, users build a test suite by providing a set of request and response validation specification in a YAML file. Each suite can have one or more specs. Just-API builds the request, sends it to server and validates response as per the specification. One can choose to validate any or all of following
- Status code
- Response JSON body
- Response JSON schema
Find it on npm
Stay In Touch
If you are having problems with Just-API, or have a question, chat with the community on gitter.