BAMF.ai·
smoke testing made simple
the local smoke test is a straightforward way to ensure everything's working as it should. it signs in with local test credentials, creates a secure temporary key, and checks access across the board. you can quickly create and delete a draft while making sure the publish-now option is denied. this method keeps everything tidy; the full API key is never exposed because we auto-clean up the temporary draft and key.
To run a smoke test, here's what you need:
```bash
npm run smoke:developer-platform
npm run smoke:developer-platform -- --skip-mutations
npm run smoke:developer-platform -- --creator=houstongolden
```
This testing process verifies the essential parts of your setup while keeping your keys safe. No fuss, just results that show your API is ready to go. It's a necessity in our builder toolkit.
For more insights, check out the jobs API and explore long-running tasks or how to utilize the minimal Node client for authentication and draft creation.
Keep your systems in check and reduce risks with smoke testing.
originally from [BAMF.ai](https://bamf.ai/docs/examples/local-smoke-test).