Skip to content

Commit d67cbd9

Browse files
authored
Merge pull request #36 from astaiglesia/documentation
Documentation Maintenance PR
2 parents 963aec6 + 6e7f57b commit d67cbd9

File tree

4 files changed

+82
-11
lines changed

4 files changed

+82
-11
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 spearmintjs
3+
Copyright (c) 2019-2021 spearmintjs
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 51 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
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+
# How to use
66

77
Download spearmint @ spearmintjs.com. Available for Mac OS and Windows.
88

9+
<br>
10+
11+
### React Testing
12+
<hr>
913
To run React tests generated by spearmint, install the following in your dev dependencies.
1014

1115
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
1822

1923
npm i -D @testing-library/react-hooks
2024

25+
<br>
26+
27+
### Endpoint Testing
28+
<hr>
2129
To run Endpoint tests generated by spearmint, install the following in your dev dependencies.
2230

2331
npm i -D jest supertest
2432

33+
<br>
34+
35+
### Puppeteer Testing
36+
<hr>
2537
To run Puppeteer tests generated by spearmint, install the following in your dev dependencies.
2638

2739
npm i -D jest puppeteer
2840

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
3063

3164
1. On the initial screen, enter the URL of your project and load your application to start creating tests.
3265

@@ -42,24 +75,33 @@ To run Puppeteer tests generated by spearmint, install the following in your dev
4275

4376
![](/public/testfile.png?raw=true)
4477

45-
## Team
78+
<br>
79+
80+
### The Spearmint Team
81+
<hr>
4682

4783
> Alex [@apark0720](https://github.com/apark0720) &nbsp;&middot;&nbsp;
84+
> Alfred [@astaiglesia](https://github.com/astaiglesia) &nbsp;&middot;&nbsp;
85+
> Annie [@annieshinn](https://github.com/annieshinn) &nbsp;&middot;&nbsp;
4886
> Ben [@bkwak](https://github.com/bkwak) &nbsp;&middot;&nbsp;
49-
> Charlie [@charlie-maloney](https://github.com/charlie-maloney) &nbsp;&middot;&nbsp;
50-
> Chloe [@HeyItsChloe](https://github.com/HeyItsChloe) <br />
87+
> Charlie [@charlie-maloney](https://github.com/charlie-maloney) <br />
88+
> Chloe [@HeyItsChloe](https://github.com/HeyItsChloe) &nbsp;&middot;&nbsp;
5189
> Cornelius [@corneeltron](https://github.com/corneeltron) &nbsp;&middot;&nbsp;
5290
> Dave [@davefranz](https://github.com/davefranz) &nbsp;&middot;&nbsp;
5391
> Evan [@Berghoer](https://github.com/Berghoer) &nbsp;&middot;&nbsp;
54-
> Johnny [@johnny-lim](https://github.com/johnny-lim) <br />
92+
> Gabriel [@bielchristo](https://github.com/bielchristo) <br />
93+
> Johnny [@johnny-lim](https://github.com/johnny-lim) &nbsp;&middot;&nbsp;
5594
> Julie [@julicious100](https://github.com/julicious100) &nbsp;&middot;&nbsp;
5695
> Karen [@karenpinilla](https://github.com/karenpinilla) &nbsp;&middot;&nbsp;
5796
> Linda [@lcwish](https://github.com/lcwish) &nbsp;&middot;&nbsp;
5897
> Luis [@Luis-KM-Lo](https://github.com/Luis-KM-Lo) <br />
5998
> Mike [@mbcoker](https://github.com/mbcoker) &nbsp;&middot;&nbsp;
6099
> Natlyn [@natlynp](https://github.com/natlynp) &nbsp;&middot;&nbsp;
61100
> Nick [@nicolaspita](https://github.com/nicolaspita) &nbsp;&middot;&nbsp;
62-
> Rachel [@rachethecreator](https://github.com/rachethecreator) <br />
63-
> Sean [@sean-haverstock](https://github.com/Sean-Haverstock) &nbsp;&middot;&nbsp;
101+
> Rachel [@rachethecreator](https://github.com/rachethecreator) &nbsp;&middot;&nbsp;
102+
> Sean [@sean-haverstock](https://github.com/Sean-Haverstock) <br />
103+
> Sharon [@sharon-zhu](https://github.com/sharon-zhu) &nbsp;&middot;&nbsp;
64104
> Sieun [@sieunjang](https://github.com/sieunjang) &nbsp;&middot;&nbsp;
65-
> Tristen [@twastell](https://github.com/twastell)
105+
> Tolan [@taoantaoan](https://github.com/taoantaoan) &nbsp;&middot;&nbsp;
106+
> Tristen [@twastell](https://github.com/twastell) <br />
107+
<hr>

src/pages/About/About.tsx

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,30 @@ const About = ({ dispatch: dispatchToGlobal }: { dispatch: (action: Action) => v
6161
<pre>
6262
<code>npm i -D jest puppeteer</code>
6363
</pre>
64+
65+
66+
<p>
67+
To run Accessibility tests generated by spearmint on HTML, install the following in your dev dependencies.
68+
</p>
69+
<pre>
70+
<code>npm i -D axe-core regenerator-runtime jest</code>
71+
</pre>
72+
73+
<p>
74+
To run Accessibility tests generated by spearmint on React Components, install the following in your dev dependencies.
75+
</p>
76+
<pre>
77+
<code>npm i -D axe-core regenerator-runtime jest enzyme enzyme-adapter-react-16</code>
78+
</pre>
79+
80+
<p>
81+
To run Accessibility tests generated by spearmint on URL's with Puppeteer, install the following in your dev dependencies.
82+
</p>
83+
<pre>
84+
<code>npm i -D axe-core puppeteer</code>
85+
</pre>
86+
87+
6488
<h2>How it works</h2>
6589
<ol>
6690
<li>
@@ -104,9 +128,14 @@ const About = ({ dispatch: dispatchToGlobal }: { dispatch: (action: Action) => v
104128
<p>
105129
<img src={image2} alt='' />
106130
</p>
107-
<h2>Team</h2>
131+
<h2>The Spearmint Team</h2>
108132
<blockquote>
109133
<p>
134+
Alfred <a href='https://github.com/astaiglesia'>@staiglesia</a>  ·  Annie{' '}
135+
<a href='https://github.com/annieshinn'>@annieshinn</a>  ·  Gabriel{' '}
136+
<a href='https://github.com/bielchristo'>@bielchristo</a>  ·  Sharon{' '}
137+
<a href='https://github.com/sharon-zhu'>@sharon-zhu</a>  ·  Tolan{' '}
138+
<a href='https://github.com/taoantaoan'>@taoantaoan</a> <br></br>
110139
Ben <a href='https://github.com/bkwak'>@bkwak</a>  ·  Evan{' '}
111140
<a href='https://github.com/Berghoer'>@Berghoer</a>  ·  Nicolas{' '}
112141
<a href='https://github.com/nicolaspita'>@nicolaspita</a>  ·  Luis{' '}

0 commit comments

Comments
 (0)