Skip to content

Commit 006bce7

Browse files
authored
Merge pull request #43 from oslabs-beta/JIB3377-patch-1
Updated Readme document
2 parents 7b7a993 + 2df7e4c commit 006bce7

File tree

1 file changed

+58
-19
lines changed

1 file changed

+58
-19
lines changed

README.md

Lines changed: 58 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,33 @@
22

33
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.
44

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```
632

733
Download spearmint @ spearmintjs.com. Available for Mac OS, Windows and Linux.
834

@@ -15,51 +41,64 @@ Mac users:
1541
<br>
1642

1743

18-
19-
2044
# How it works
2145

22-
1. On the initial screen, enter the URL of your project and load your application to start creating tests.
2346

24-
![](https://lh4.googleusercontent.com/CAFpoefRUUxgNosudQuc7gabSReFiI_puZ_WTjrzUSzB6pgOUdQ1babF2mxJql2lC8TQ-jjVLOgG5Qka8SUfF2fi-u2H9xSP7rZ_0Udpj-ISFPAY028UYKIUZcgOApnipVZwE7xh)
47+
1. On the initial screen, load your application to start creating tests.
48+
49+
![](/public/mainPage.JPG)
2550

2651
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.
2752

28-
![](/public/newReact.png?raw=true)
53+
![](/public/generateTest.JPG)
2954

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.
3156

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.
3357

34-
![](/public/testfile.png?raw=true)
58+
4. Lastly click **Run Test** button and follow the guide and click what type of test you would like to perform
59+
![](/public/runTest.JPG)
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+
![](/public/AccLens_Demo.gif)
3563

3664
<br>
3765

66+
67+
# Demo
68+
69+
![](/public/AccLens_Demo.gif)
70+
71+
***
72+
3873
### The Spearmint Team
3974
<hr>
4075

4176
> Alex [@apark0720](https://github.com/apark0720) &nbsp;&middot;&nbsp;
4277
> Alfred [@astaiglesia](https://github.com/astaiglesia) &nbsp;&middot;&nbsp;
4378
> Annie [@annieshinn](https://github.com/annieshinn) &nbsp;&middot;&nbsp;
4479
> Ben [@bkwak](https://github.com/bkwak) &nbsp;&middot;&nbsp;
45-
> Charlie [@charlie-maloney](https://github.com/charlie-maloney) <br />
80+
> Charlie [@charlie-maloney](https://github.com/charlie-maloney) &nbsp;&middot;&nbsp; <br />
4681
> Chloe [@HeyItsChloe](https://github.com/HeyItsChloe) &nbsp;&middot;&nbsp;
4782
> Cornelius [@corneeltron](https://github.com/corneeltron) &nbsp;&middot;&nbsp;
4883
> Dave [@davefranz](https://github.com/davefranz) &nbsp;&middot;&nbsp;
49-
> Evan [@Berghoer](https://github.com/Berghoer) &nbsp;&middot;&nbsp;
50-
> Gabriel [@bielchristo](https://github.com/bielchristo) <br />
84+
> Dieu [@dieunity](https://github.com/dieunity) &nbsp;&middot;&nbsp;
85+
> Evan [@Berghoer](https://github.com/Berghoer) &nbsp;&middot;&nbsp; <br />
86+
> Gabriel [@bielchristo](https://github.com/bielchristo)
5187
> Johnny [@johnny-lim](https://github.com/johnny-lim) &nbsp;&middot;&nbsp;
5288
> Julie [@julicious100](https://github.com/julicious100) &nbsp;&middot;&nbsp;
53-
> Karen [@karenpinilla](https://github.com/karenpinilla) &nbsp;&middot;&nbsp;
89+
> Justin [@JIB3377](https://github.com/JIB3377) &nbsp;&middot;&nbsp;
90+
> Karen [@karenpinilla](https://github.com/karenpinilla) &nbsp;&middot;&nbsp; <br />
5491
> Linda [@lcwish](https://github.com/lcwish) &nbsp;&middot;&nbsp;
55-
> Luis [@Luis-KM-Lo](https://github.com/Luis-KM-Lo) <br />
92+
> Luis [@Luis-KM-Lo](https://github.com/Luis-KM-Lo) &nbsp;&middot;&nbsp;
93+
> Max [@MaxWeisen](https://github.com/MaxWeisen) &nbsp;&middot;&nbsp;
5694
> Mike [@mbcoker](https://github.com/mbcoker) &nbsp;&middot;&nbsp;
57-
> Natlyn [@natlynp](https://github.com/natlynp) &nbsp;&middot;&nbsp;
95+
> Mo [@mhmaidi789](https://github.com/mhmaidi789) &nbsp;&middot;&nbsp; <br />
96+
> Natlyn [@natlynp](https://github.com/natlynp) &nbsp;&middot;&nbsp;
5897
> Nick [@nicolaspita](https://github.com/nicolaspita) &nbsp;&middot;&nbsp;
5998
> Rachel [@rachethecreator](https://github.com/rachethecreator) &nbsp;&middot;&nbsp;
60-
> Sean [@sean-haverstock](https://github.com/Sean-Haverstock) <br />
61-
> Sharon [@sharon-zhu](https://github.com/sharon-zhu) &nbsp;&middot;&nbsp;
99+
> Sean [@sean-haverstock](https://github.com/Sean-Haverstock) &nbsp;&middot;&nbsp; <br />
100+
> Sharon [@sharon-zhu](https://github.com/sharon-zhu) &nbsp;&middot;&nbsp;
62101
> Sieun [@sieunjang](https://github.com/sieunjang) &nbsp;&middot;&nbsp;
63102
> Tolan [@taoantaoan](https://github.com/taoantaoan) &nbsp;&middot;&nbsp;
64-
> Tristen [@twastell](https://github.com/twastell) <br />
65-
<hr>
103+
> Tristen [@twastell](https://github.com/twastell)
104+
<hr>

0 commit comments

Comments
 (0)