testing

Testing patterns for The Boring JavaScript Stack — unit testing with Node.js test runner, end-to-end testing with Playwright, and integration testing with inertia-sails/test. Use this skill when writing, configuring, or debugging tests in a Sails.js + Inertia.js application.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "testing" with this command: npx skills add sailscastshq/boring-stack/sailscastshq-boring-stack-testing

Testing

The Boring JavaScript Stack uses a layered testing strategy: unit tests for helpers and business logic, integration tests for Inertia action responses, and end-to-end tests for full browser flows. Each layer uses purpose-built tooling that requires zero external test frameworks.

When to Use

Use this skill when:

  • Writing unit tests for Sails.js helpers using Node.js built-in test runner (node:test)
  • Writing end-to-end tests with Playwright for page flows and user interactions
  • Writing integration tests using inertia-sails/test assertion library
  • Configuring the test environment (config/env/test.js, database strategy, email mocking)
  • Setting up Playwright configuration (playwright.config.js)
  • Setting up CI/CD pipelines with GitHub Actions for automated testing
  • Understanding the getSails() singleton pattern for test initialization

Rules

Read individual rule files for detailed explanations and code examples:

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

QA & Test Engineering Command Center

Comprehensive QA system for planning strategy, writing tests, analyzing coverage, automating pipelines, performance and security testing, defect triage, and...

Registry SourceRecently Updated
0521
Profile unavailable
General

sails

No summary provided by upstream source.

Repository SourceNeeds Review
General

inertia

No summary provided by upstream source.

Repository SourceNeeds Review