关于
This skill serves as a comprehensive guide for developers looking to improve the quality and reliability of their test suites across unit, integration, component, and API layers. It enforces critical rules such as a 10-statement limit per test and the 'Smoking Gun' principle to ensure clear cause-and-effect relationships in assertions. By providing detailed implementation patterns for data factories, mocking external collaborators, and testing complex DOM interactions using accessible locators, the skill helps create resilient test suites that focus on user behavior rather than implementation details.