Have you ever had the feeling that your react component test code is just testing the UI framework and component coupling, but is no where close to mimicking the actual user behavior. If you are with me on that, read further to get introduced to another way of testing components using a library called react-testing-library. The library was conceptualized by the awesome Kent C. Dodds and I like the
![Testing React Applications with react-testing-library](https://cdn-ak-scissors.b.st-hatena.com/image/square/ba8d454ab28e89f4dfb61c4ef3d45388d88fed21/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2A9QSHzBRj-SQZFV3oflrdeQ.png)