You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spearmint helps developers easily create functional React/Redux/Endpoint tests without writing any code. It dynamically converts user inputs into executable Jest test code by using DOM query selectors provided by @testing-library.
3
+
Spearmint helps developers easily create functional React/Redux/Endpoint/Paint Timing tests without writing any code. It dynamically converts user inputs into executable Jest test code by using DOM query selectors provided by @testing-library.
4
4
5
5
## How to use
6
6
@@ -22,6 +22,10 @@ To run Endpoint tests generated by spearmint, install the following in your dev
22
22
23
23
npm i -D jest supertest
24
24
25
+
To run Puppeteer tests generated by spearmint, install the following in your dev dependencies.
26
+
27
+
npm i -D jest puppeteer
28
+
25
29
## How it works
26
30
27
31
1. On the initial screen, enter the URL of your project and load your application to start creating tests.
@@ -30,23 +34,27 @@ To run Endpoint tests generated by spearmint, install the following in your dev
30
34
31
35
2. Utilize our auto-complete, drop-down options, and tooltips features to easily create arrangement, action, and assertion test statements for React; reducer, action creator, asynchronous action creator, and middleware test statements for Redux; and hooks, context, and endpoint test statements.
3. Refer to the browser view of your app that is displayed on the right to quickly identify values for your selectors and use the file directory to open up a code editor view to easily refer to your codebase for props information.
36
40
37
41
4. Spearmint will then convert user input to dynamically generate a test file that will be saved inside a **tests** folder, which you can use to run ‘npm test’ on.
0 commit comments