Enable javascript in your browser for better experience. Need to know to enable it? Go here.

Biblioteca de Pruebas React

Last updated : May 19, 2020
NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions, it is likely that it is still relevant. If the blip is older, it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar. Understand more
May 2020
Adopt ?

El mundo de JavaScript evoluciona rápidamente, y a medida que adquirimos más experiencia en el uso de un framework, nuestras recomendaciones van variando. La Biblioteca de Pruebas de React es un buen ejemplo de un framework que con un uso más profundo, ha ido eclipsando otras alternativas para convertirse en la opción por defecto a la hora de probar frontends basados en React. A nuestros equipos les gusta el hecho de que los tests escritos con este framework son menos frágiles que con frameworks alternativos como Enzyme, porque se les anima a probar las relaciones de los componentes individualmente en lugar de probar todos los detalles de implementación. Esta forma de pensar traída por Testing Library en la cual la biblioteca de pruebas de react es una parte, vale resaltar que esta familia de librerías también incluye otras como por ejemplo : Angular y Vue.js.

Nov 2019
Trial ?

El mundo de JavaScript se mueve bastante rápido, y a medida que adquirimos más experiencia en el uso de un framework, nuestras recomendaciones cambian. La Biblioteca de Pruebas de React es un buen ejemplo de un framework que con un uso más profundo, ha eclipsado las alternativas para convertirse en la opción por defecto más sensata a la hora de probar frontends basados en React. A nuestros equipos les gusta el hecho de que los tests escritos con este framework son menos frágiles que con frameworks alternativos como Enzyme, porque se les anima a probar las relaciones de los componentes individualmente en lugar de probar todos los detalles de implementación.

Apr 2019
Assess ?

As the pace of change in JavaScript frameworks has slowed, our teams have more time to work with specific frameworks and are gaining deeper insights as a result. With React and the dominant testing framework, Enzyme, we've observed a worrying trend of unit tests becoming tightly coupled to implementation details without providing — because the focus is on shallow details — much confidence that features work as expected. These unit tests make evolving the design difficult and they shift too much responsibility up the test pyramid to functional testing. This has made us revisit the idea of subcutaneous testing. Additionally, because of its design, Enzyme has issues trying to keep up with React's development. All this has pushed us toward assessing react-testing-library as a new framework for testing React applications.

Published : Apr 24, 2019

Download the PDF

 

 

 

English | Português

Sign up for the Technology Radar newsletter

 

 

Subscribe now

Visit our archive to read the previous volumes