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
+58-19Lines changed: 58 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,33 @@
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
+
# Installation
6
+
Please download spearmint from our [website](https://www.spearmintjs.com/). Available for Mac OS, Windows and Linux.
7
+
8
+
9
+
# How to use in development mode
10
+
11
+
### For Mac developers
12
+
13
+
**Prerequisite**: Install Xcode
14
+
15
+
First install
16
+
1. Fork and clone this repository.
17
+
2.```npm run install-once```
18
+
3.```npm run start```
19
+
20
+
***
21
+
22
+
### For Windows developers
23
+
24
+
**Prerequisite**: Install Python and Microsoft C++ Build Tools.
25
+
26
+
In an Administrator PowerShell run the following command:
27
+
```choco install python visualcpp-build-tools -y npm config set msvs_version 2017```
28
+
29
+
1. Fork and clone this repository.
30
+
2.```npm run install-once```
31
+
3.```npm run start-windows```
6
32
7
33
Download spearmint @ spearmintjs.com. Available for Mac OS, Windows and Linux.
8
34
@@ -15,51 +41,64 @@ Mac users:
15
41
<br>
16
42
17
43
18
-
19
-
20
44
# How it works
21
45
22
-
1. On the initial screen, enter the URL of your project and load your application to start creating tests.
1. On the initial screen, load your application to start creating tests.
48
+
49
+

25
50
26
51
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.
27
52
28
-

53
+

29
54
30
-
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.
55
+
3.Spearmint will then convert user input to dynamically generate a test file, which you can click export icon on the left nav bar to automatically save the test file in the **\_\_tests\_\_** folder.
31
56
32
-
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.
33
57
34
-

58
+
4. Lastly click **Run Test** button and follow the guide and click what type of test you would like to perform
59
+

60
+
61
+
5. Optionally, accessibility lenese have been added in the app to give developers with different mismatches various options to interact with the app.
62
+

35
63
36
64
<br>
37
65
66
+
67
+
# Demo
68
+
69
+

70
+
71
+
***
72
+
38
73
### The Spearmint Team
39
74
<hr>
40
75
41
76
> Alex [@apark0720](https://github.com/apark0720) ·
42
77
> Alfred [@astaiglesia](https://github.com/astaiglesia) ·
0 commit comments