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
Copy file name to clipboardExpand all lines: README.md
+51-9Lines changed: 51 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,14 @@
2
2
3
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
-
##How to use
5
+
# How to use
6
6
7
7
Download spearmint @ spearmintjs.com. Available for Mac OS and Windows.
8
8
9
+
<br>
10
+
11
+
### React Testing
12
+
<hr>
9
13
To run React tests generated by spearmint, install the following in your dev dependencies.
10
14
11
15
npm i -D jest @testing-library/jest-dom @testing-library/react test-data-bot
@@ -18,15 +22,44 @@ To run Hooks / Context tests generated by spearmint, install the following in yo
18
22
19
23
npm i -D @testing-library/react-hooks
20
24
25
+
<br>
26
+
27
+
### Endpoint Testing
28
+
<hr>
21
29
To run Endpoint tests generated by spearmint, install the following in your dev dependencies.
22
30
23
31
npm i -D jest supertest
24
32
33
+
<br>
34
+
35
+
### Puppeteer Testing
36
+
<hr>
25
37
To run Puppeteer tests generated by spearmint, install the following in your dev dependencies.
26
38
27
39
npm i -D jest puppeteer
28
40
29
-
## How it works
41
+
42
+
<br>
43
+
44
+
### Accessiblity Testing
45
+
<hr>
46
+
47
+
To run Accessibility tests generated by spearmint on HTML, install the following in your dev dependencies.
48
+
49
+
npm i -D axe-core regenerator-runtime jest
50
+
51
+
To run Accessibility tests generated by spearmint on React Components, install the following in your dev dependencies.
52
+
53
+
npm i -D axe-core regenerator-runtime jest enzyme enzyme-adapter-react-16
54
+
55
+
To run Accessibility tests generated by spearmint on URL's with Puppeteer, install the following in your dev dependencies.
56
+
57
+
npm i -D axe-core puppeteer
58
+
59
+
60
+
<br>
61
+
62
+
# How it works
30
63
31
64
1. On the initial screen, enter the URL of your project and load your application to start creating tests.
32
65
@@ -42,24 +75,33 @@ To run Puppeteer tests generated by spearmint, install the following in your dev
42
75
43
76

44
77
45
-
## Team
78
+
<br>
79
+
80
+
### The Spearmint Team
81
+
<hr>
46
82
47
83
> Alex [@apark0720](https://github.com/apark0720) ·
84
+
> Alfred [@astaiglesia](https://github.com/astaiglesia) ·
0 commit comments