twd-test-writer
OfficialWrite TWD tests with confidence.
Software Engineering#testing#web development#test writing#testing-library#msw#in-browser testing#twd
AuthorBRIKEV
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps AI agents write correct TWD (Test While Developing) in-browser tests, ensuring robust and maintainable test suites for web applications.
Core Features & Use Cases
- TWD Test Syntax: Guides AI on the specific syntax and structure for TWD tests.
- Flow-Based Testing Philosophy: Emphasizes writing tests that reflect user flows rather than granular unit tests.
- API Mocking: Details how to effectively mock API requests using Mock Service Worker.
- User Interactions: Explains how to simulate user actions like typing, clicking, and selecting.
- Assertions: Covers various assertion methods for verifying UI states and data.
- Use Case: An AI agent can use this Skill to generate a new TWD test file for a login page, including mocking API calls for authentication and asserting successful login.
Quick Start
Use the twd-test-writer skill to generate a TWD test file for the user registration page.
Dependency Matrix
Required Modules
None requiredComponents
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: twd-test-writer Download link: https://github.com/BRIKEV/twd/archive/main.zip#twd-test-writer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.