Hacker News new | past | comments | ask | show | jobs | submit login
A secret way to “write” your React tests
1 point by apark0720 on June 18, 2019 | hide | past | favorite
Spearmint provides a simple way to write tests that give you confidence your React application will work in the way your users interact with it.

Using Spearmint, developers can easily generate React tests by using our user-friendly GUI. It dynamically converts user inputs into executable Jest test code by using DOM query selectors provided by the react-testing-library. We chose react-testing-library over Enzyme because it guides developers to focus on testing user behavior rather than testing implementation details. By leveraging react-testing-library, our application provides our users with more stable tests that do not break when refactoring or gives false positives due to shallow-rendering.

Visit us at: www.spearmintjs.com www.github.com/spearmintjs/spearmint




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: