Skip to content

Latest commit

 

History

History

README.md

RealWorld API Spec

Running API tests locally

With Hurl

To locally run the provided Hurl collection against your backend, execute:

HOST=http://localhost:3000/api ./run-api-tests-hurl.sh

For more details, see run-api-tests-hurl.sh.

With Bruno

A Bruno collection is also available, automatically generated from the Hurl test suite. To run it:

HOST=http://localhost:3000/api ./run-api-tests-bruno.sh

For more details, see run-api-tests-bruno.sh.

You can also open the bruno/ folder directly in the Bruno app to run and inspect requests interactively.

Note: The Hurl files are the source of truth. The Bruno collection is generated with make bruno-generate and kept in sync via CI (make bruno-check).