Stack Explorer

React Testing Library

Testing

Testing library focused on user behavior rather than implementation

10M/week → Stable

Features

testinguser-centricaccessible

Pros and Cons

Ventajas

  • + Encourages best practices
  • + Tests user behavior
  • + Promotes accessibility
  • + Framework agnostic queries

Desventajas

  • - Not for unit testing implementation
  • - Requires mindset shift

Use Cases

  • Any React testing
  • Accessible testing
  • Integration testing

Tecnologías Relacionadas

Compatible with

Related