| name | testing |
| description | Sounding-first testing patterns for The Boring JavaScript Stack — one test() API, a Sails-centered trial context, worlds under tests/, JSON and Inertia request testing, mail capture, and browser-capable trials only when the browser truly matters. Use this skill when writing, configuring, or debugging tests in a Sails.js + Inertia.js application.
|
| metadata | {"author":"sailscastshq","version":"2.0.0","tags":"testing, sounding, sails, node-test, playwright, inertia, e2e, unit-tests, boring-stack"} |
Testing
The Boring JavaScript Stack now has one primary testing story: Sounding.
Sounding keeps the familiar test() API, but gives Sails apps one coherent runtime for:
- helper and business-logic trials
- JSON endpoint and policy behavior
- Inertia page contracts
- mail assertions
- browser-capable flows when the browser truly matters
When to Use
Use this skill when:
- Writing or restructuring tests in a Sails.js + Inertia.js application
- Migrating older
node:test, Playwright, or inertia-sails/test suites to Sounding
- Designing
tests/unit, tests/e2e/pages, tests/factories, and tests/scenarios
- Configuring
config/sounding.js and config/env/test.js
- Writing trials around
sails.helpers, get() / post(), visit(), , , , or