Motivation

Deterministic and Comprehensive States

Sometimes the flow you need to test is too difficult to reproduce from the actual backend.

Mockaton Demo App Screenshot

Benefits

Standalone Demo Server (Docker)

You can demo your app by compiling the frontend and putting its built assets in config.staticDir. For example, this repo includes a demo which builds and runs a docker container.

git clone https://github.com/ericfortis/mockaton.git --depth 1
cd mockaton/demo-app-vite
make run-standalone-demo

Testing Scenarios that Would Otherwise be Skipped

Privacy and Security

Benefits of Mocking APIs in General

The section above highlights benefits specific to Mockaton. There are more, but in general here are some benefits that Mockaton has but other tools have as well:

Works Around Unstable Dev Backends while Developing UIs

Time Travel

If you commit the mocks to your repo, you don’t have to downgrade backends when checking out long-lived branches or bisecting bugs.