Skip to content
R

react-testing

React component testing with React Testing Library, Vitest/Jest

by affaan-mFree

#389in AI Skills
0In stores

Description

react-testing is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out testing patterns for React components,…

Highlights

  • React Testing Library behaviour tests
  • MSW network mocking
  • axe accessibility assertions
  • Choosing between RTL, component and end-to-end tests

Ratings & Reviews

No ratings yet

Be the first to rate react-testing.

People also visit

F

frontend-testing

Writing or changing Vitest or React Testing Library tests under `web/` or

AI Skills
Get
R

react-testing-library

React Testing Library: user-centric component testing

AI Skills
Get
R

react-native-testing

Write tests using React Native Testing Library (RNTL) v13 and v14

AI Skills
Get
T

test

Run tests for React core

AI Skills
Get
V

vitest

Vitest testing framework patterns for test setup, async testing, mocking

AI Skills
Get
V

vitest

Vite-powered unit testing framework

AI Skills
Get

react-testing FAQ

What does the react-testing skill do?

It guides an agent in writing behaviour-focused React tests, using React Testing Library with Vitest or Jest, MSW and axe.

What is the core principle?

Test what the user sees and does, not implementation details.

Does it help migrate from Enzyme?

Yes. Migrating from Enzyme or class-component patterns is one of its listed uses.

How do I install it?

Run: npx skills add https://github.com/affaan-m/ecc --skill react-testing

Is it free?

Yes. It is free and open source.

Are there security findings?

The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.

What are the best react-testing alternatives?

Popular alternatives to react-testing include frontend-testing, react-testing-library and react-native-testing. See all react-testing alternatives

Developer Stuff

Badges