·frontend-testing-best-practices
</>

frontend-testing-best-practices

Testing best practices for the frontend. Emphasizes E2E tests over unit tests, minimal mocking, and testing behavior over implementation details. Use when writing tests or reviewing test code.

5Installs·0Trend·@emerson1337

Installation

$npx skills add https://github.com/emerson1337/skills-for-agents --skill frontend-testing-best-practices

How to Install frontend-testing-best-practices

Quickly install frontend-testing-best-practices AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/emerson1337/skills-for-agents --skill frontend-testing-best-practices
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: emerson1337/skills-for-agents.

SKILL.md

View raw

Guidelines for writing effective, maintainable tests that provide real confidence. Contains 6 rules focused on preferring E2E tests, minimizing mocking, and testing behavior over implementation.

Default to E2E tests. Only write unit tests for pure functions.

Don't unit test React components. Test them through E2E or not at all.

Testing best practices for the frontend. Emphasizes E2E tests over unit tests, minimal mocking, and testing behavior over implementation details. Use when writing tests or reviewing test code. Source: emerson1337/skills-for-agents.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/emerson1337/skills-for-agents --skill frontend-testing-best-practices
Category
</>Dev Tools
Verified
First Seen
2026-02-25
Updated
2026-03-10

Browse more skills from emerson1337/skills-for-agents

Quick answers

What is frontend-testing-best-practices?

Testing best practices for the frontend. Emphasizes E2E tests over unit tests, minimal mocking, and testing behavior over implementation details. Use when writing tests or reviewing test code. Source: emerson1337/skills-for-agents.

How do I install frontend-testing-best-practices?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/emerson1337/skills-for-agents --skill frontend-testing-best-practices Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/emerson1337/skills-for-agents