stratal-testing

Official

Effortlessly test Stratal applications.

Authorstrataljs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of writing comprehensive tests for Stratal applications, ensuring reliability and robustness by providing utilities for module compilation, HTTP testing, and mocking.

Core Features & Use Cases

  • TestingModule: Compile and test Stratal modules with provider overrides and environment configuration.
  • HTTP Testing: A fluent client for making requests and asserting responses within tests.
  • Mocks & Fakes: Utilities like FakeStorageService and createFetchMock for isolating dependencies.
  • Auth Testing: Helpers like ActingAs to simulate authenticated users.
  • Use Case: When developing a new API endpoint in a Stratal application, use this Skill to create a test suite that verifies the endpoint's functionality, response codes, and data integrity under various conditions.

Quick Start

Use the stratal-testing skill to create a test module for the UsersModule and override the EMAIL_TOKEN provider with a mock email service.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: stratal-testing
Download link: https://github.com/strataljs/stratal/archive/main.zip#stratal-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.