Skip to content

Commit 43b5e9e

Browse files
author
Owen Eldridge
authored
Merge pull request #111 from oslabs-beta/master
Version 0.8 Release
2 parents 09ec25b + fb9b592 commit 43b5e9e

File tree

93 files changed

+1939
-3986
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+1939
-3986
lines changed

.DS_Store

10 KB
Binary file not shown.

.eslintignore

Lines changed: 0 additions & 7 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 16 deletions
This file was deleted.

.gitignore

Lines changed: 101 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,111 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
28

3-
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.js
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
711

8-
# testing
9-
/coverage
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
1017

11-
# production
12-
/build
13-
/dist
18+
# Directory for instrumented libs generated by jscoverage/JSCover
19+
lib-cov
1420

15-
# misc
16-
.DS_Store
17-
.env.local
18-
.env.development.local
19-
.env.test.local
20-
.env.production.local
21+
# Coverage directory used by tools like istanbul
22+
coverage
23+
*.lcov
24+
25+
# nyc test coverage
26+
.nyc_output
27+
28+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29+
.grunt
30+
31+
# Bower dependency directory (https://bower.io/)
32+
bower_components
33+
34+
# node-waf configuration
35+
.lock-wscript
36+
37+
# Compiled binary addons (https://nodejs.org/api/addons.html)
38+
build/Release
39+
40+
# Dependency directories
41+
node_modules/
42+
jspm_packages/
43+
44+
# TypeScript v1 declaration files
45+
typings/
46+
47+
# TypeScript cache
48+
*.tsbuildinfo
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Microbundle cache
57+
.rpt2_cache/
58+
.rts2_cache_cjs/
59+
.rts2_cache_es/
60+
.rts2_cache_umd/
61+
62+
# Optional REPL history
63+
.node_repl_history
64+
65+
# Output of 'npm pack'
66+
*.tgz
67+
68+
# Yarn Integrity file
69+
.yarn-integrity
70+
71+
# dotenv environment variables file
2172
.env
73+
.env.test
2274

23-
/package-lock.json
24-
npm-debug.log*
25-
yarn-debug.log*
26-
yarn-error.log*
75+
# parcel-bundler cache (https://parceljs.org/)
76+
.cache
2777

78+
# Next.js build output
79+
.next
2880

29-
#configuration
30-
.vscode
81+
# Nuxt.js build / generate output
82+
.nuxt
83+
dist
3184

85+
# Gatsby files
86+
.cache/
87+
# Comment in the public line in if your project uses Gatsby and *not* Next.js
88+
# https://nextjs.org/blog/next-9-1#public-directory-support
89+
# public
3290

33-
/server/node_modules
34-
/server/spearmint.zip
91+
# vuepress build output
92+
.vuepress/dist
93+
94+
# Serverless directories
95+
.serverless/
96+
97+
# FuseBox cache
98+
.fusebox/
99+
100+
# DynamoDB Local files
101+
.dynamodb/
102+
103+
# TernJS port file
104+
.tern-port
105+
106+
# Custom ignore files
107+
/out
108+
/build
109+
.DS_Store
110+
package-lock.json
111+
.dccache

.prettierrc.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

README.md

Lines changed: 101 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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

55
# Installation
6-
Please download spearmint from our [website](https://www.spearmintjs.com/). Available for Mac OS, Windows and Linux.
6+
Please download spearmint from our [website](https://www.spearmintjs.com/). Available for Mac OS and Windows.
77

88

99
# How to use in development mode
@@ -14,22 +14,22 @@ Please download spearmint from our [website](https://www.spearmintjs.com/). Avai
1414

1515
First install
1616
1. Fork and clone this repository.
17-
2. ```npm run install-once```
18-
3. ```npm run start```
17+
2. ```npm install```
18+
3. ```npm run watch```
19+
3. ```npm run start-dev```
1920

2021
***
2122

2223
### For Windows developers
23-
24-
**Prerequisite**: Install Python and Microsoft C++ Build Tools.
25-
26-
In an Administrator PowerShell run the following commands: <br />
27-
```choco install python visualcpp-build-tools -y``` <br />
28-
```npm config set msvs_version 2017```
2924
25+
**Prerequisite**: Install Node.js globally
26+
3027
1. Fork and clone this repository.
31-
2. ```npm run install-once```
32-
3. ```npm run start-windows```
28+
2. ```npm install```
29+
3. ```npm run watch```
30+
3. ```npm run start-dev```
31+
32+
Note: Windows users may also have to run Spearmint in admin mode
3333

3434

3535
<br>
@@ -38,11 +38,11 @@ In an Administrator PowerShell run the following commands: <br />
3838
# How it works
3939

4040

41-
1. On the initial screen, a user is prompt to login or sign up (via OAuth or standard sign-up/login). Once logged in choose your file and load your application to start creating tests.
41+
1. On the initial screen, a user is prompt to login, sign up (via OAuth or standard sign-up/login), or login as a guest. Once logged in choose your file and load your application to start creating tests.
4242

4343
![](/public/mainPage.png)
4444

45-
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. Spearmint can save test templates for future use for logged in user.
45+
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. Spearmint can save test templates for future use for logged in user (not guests).
4646

4747
![](/public/generateTest.png)
4848

@@ -52,61 +52,108 @@ In an Administrator PowerShell run the following commands: <br />
5252
4. Lastly click **Run Test** button and follow the guide and click what type of test you would like to perform.
5353
![](/public/runTest.png)
5454

55-
5. Accessibility lens have been added in the app to give developers with different mismatches various options to interact with the app.
55+
5. An accessibility lens has been added in the app to give developers with different mismatches various options to interact with the app.
56+
5657
![](/public/AccLens_Demo.gif)
5758

58-
# New features with version 0.7.0
59+
6. The latest version of Spearmint has a specific focus on security. The [Snyk](https://snyk.io/) library has been utilized to ensure your application is up to snuff for various security standards and protect your application from malicious attacks.
60+
Users can now test their application for vulnerabilities including: SQL Injection, Cross-site Scripting (XSS), Hardcoded Secrets, and much more!
61+
62+
![](/public/demos/snyk-test-app.gif)
63+
64+
# New features with version 0.8.0
5965

60-
-Sign-up and Login
66+
-Security testing via Snyk
6167

62-
-OAuth Login available through GitHub
68+
-Guest Login
6369

64-
-Save test states
70+
-Cross-platform functionality (Mac OS w/ M1 chip, Mac OS w/ Intel chip, Windows)
6571

66-
-**NEW** Accessibility lenses for Low-vision and light sensitivity
72+
-60% reduced package size
73+
74+
-Accelerated startup time
75+
76+
-Ample bug fixes
6777

6878
<br>
6979

80+
# Demos
7081

71-
# Demo
82+
### Guest login
83+
![](/public/guest-login.gif)
7284

73-
![](/public/inapp-test-demo-run-test.gif)
85+
### Signup + login
86+
![](/public/signup-login.gif)
7487

75-
***
88+
### Snyk auth + dependency test
89+
![](/public/snyk-auth-testdep.gif)
90+
91+
### Snyk fix dependencies
92+
![](/public/snyk-fixdep.gif)
93+
94+
### Generate endpoint test
95+
![](/public/snyk-auth-testdep.gif)
7696

77-
### The Spearmint Team
97+
### Run a specific test
98+
![](/public/snyk-auth-testdep.gif)
99+
100+
<br>
101+
102+
103+
# Snyk Setup
104+
105+
106+
### Authenticate Snyk
107+
![](/public/snyk-auth-testdep.gif)
108+
109+
### Enable Snyk code
110+
![](/public/snyk-enable.gif)
111+
112+
# The Spearmint Team
78113
<hr>
79114

80-
> Alex [@apark0720](https://github.com/apark0720) &nbsp;&middot;&nbsp;
81-
> Alfred [@astaiglesia](https://github.com/astaiglesia) &nbsp;&middot;&nbsp;
82-
> Annie [@annieshinn](https://github.com/annieshinn) &nbsp;&middot;&nbsp;
83-
> Ben [@bkwak](https://github.com/bkwak) &nbsp;&middot;&nbsp;
84-
> Charlie [@charlie-maloney](https://github.com/charlie-maloney) &nbsp;&middot;&nbsp; <br />
85-
> Chloe [@HeyItsChloe](https://github.com/HeyItsChloe) &nbsp;&middot;&nbsp;
86-
> Cornelius [@corneeltron](https://github.com/corneeltron) &nbsp;&middot;&nbsp;
87-
> Dave [@davefranz](https://github.com/davefranz) &nbsp;&middot;&nbsp;
88-
> Dieu [@dieunity](https://github.com/dieunity) &nbsp;&middot;&nbsp;
89-
> Eric [@ericgpark](https://github.com/ericgpark) &nbsp;&middot;&nbsp;
90-
> Evan [@Berghoer](https://github.com/Berghoer) &nbsp;&middot;&nbsp; <br />
91-
> Gabriel [@bielchristo](https://github.com/bielchristo)
92-
> Johnny [@johnny-lim](https://github.com/johnny-lim) &nbsp;&middot;&nbsp;
93-
> Julie [@julicious100](https://github.com/julicious100) &nbsp;&middot;&nbsp;
94-
> Justin [@JIB3377](https://github.com/JIB3377) &nbsp;&middot;&nbsp;
95-
> Karen [@karenpinilla](https://github.com/karenpinilla) &nbsp;&middot;&nbsp; <br />
96-
> Linda [@lcwish](https://github.com/lcwish) &nbsp;&middot;&nbsp;
97-
> Luis [@Luis-KM-Lo](https://github.com/Luis-KM-Lo) &nbsp;&middot;&nbsp;
98-
> Max B[@mbromet](https://github.com/mbromet) &nbsp;&middot;&nbsp;
99-
> Max W [@MaxWeisen](https://github.com/MaxWeisen) &nbsp;&middot;&nbsp;
100-
> Mike [@mbcoker](https://github.com/mbcoker) &nbsp;&middot;&nbsp;
101-
> Mo [@mhmaidi789](https://github.com/mhmaidi789) &nbsp;&middot;&nbsp; <br />
102-
> Natlyn [@natlynp](https://github.com/natlynp) &nbsp;&middot;&nbsp;
103-
> Nick [@nicolaspita](https://github.com/nicolaspita) &nbsp;&middot;&nbsp;
104-
> Rachel [@rachethecreator](https://github.com/rachethecreator) &nbsp;&middot;&nbsp;
105-
> Sean Y [@seanyyoo](https://github.com/seanyyoo)&nbsp;&middot;&nbsp;
106-
> Sean H [@sean-haverstock](https://github.com/Sean-Haverstock) &nbsp;&middot;&nbsp; <br />
107-
> Sharon [@sharon-zhu](https://github.com/sharon-zhu) &nbsp;&middot;&nbsp;
108-
> Sieun [@sieunjang](https://github.com/sieunjang) &nbsp;&middot;&nbsp;
109-
> Tolan [@taoantaoan](https://github.com/taoantaoan) &nbsp;&middot;&nbsp;
110-
> Tristen [@twastell](https://github.com/twastell) &nbsp;&middot;&nbsp;
115+
> Alan [@alanrichardson7](https://github.com/alanrichardson7) <br />
116+
> Alex [@apark0720](https://github.com/apark0720) <br />
117+
> Alfred [@astaiglesia](https://github.com/astaiglesia) <br />
118+
> Annie [@annieshinn](https://github.com/annieshinn) <br />
119+
> Ben [@bkwak](https://github.com/bkwak) <br />
120+
> Charlie [@charlie-maloney](https://github.com/charlie-maloney) <br />
121+
> Chloe [@HeyItsChloe](https://github.com/HeyItsChloe) <br />
122+
> Cornelius [@corneeltron](https://github.com/corneeltron) <br />
123+
> Dave [@davefranz](https://github.com/davefranz) <br />
124+
> Dieu [@dieunity](https://github.com/dieunity) <br />
125+
> Eric [@ericgpark](https://github.com/ericgpark) <br />
126+
> Evan [@Berghoer](https://github.com/Berghoer) <br />
127+
> Gabriel [@bielchristo](https://github.com/bielchristo) <br />
128+
> Joe [@josephnagy](https://github.com/Josephnagy) <br />
129+
> Johnny [@johnny-lim](https://github.com/johnny-lim) <br />
130+
> Julie [@julicious100](https://github.com/julicious100) <br />
131+
> Justin [@JIB3377](https://github.com/JIB3377) <br />
132+
> Karen [@karenpinilla](https://github.com/karenpinilla) <br />
133+
> Linda [@lcwish](https://github.com/lcwish) <br />
134+
> Luis [@Luis-KM-Lo](https://github.com/Luis-KM-Lo) <br />
135+
> Max B[@mbromet](https://github.com/mbromet) <br />
136+
> Max W [@MaxWeisen](https://github.com/MaxWeisen) <br />
137+
> Mike [@mbcoker](https://github.com/mbcoker) <br />
138+
> Mo [@mhmaidi789](https://github.com/mhmaidi789) <br />
139+
> Natlyn [@natlynp](https://github.com/natlynp) <br />
140+
> Nick [@nicolaspita](https://github.com/nicolaspita) <br />
141+
> Owen [@oweneldridge](https://github.com/oweneldridge) <br />
142+
> Rachel [@rachethecreator](https://github.com/rachethecreator) <br />
143+
> Sean Y [@seanyyoo](https://github.com/seanyyoo)<br />
144+
> Sean H [@sean-haverstock](https://github.com/Sean-Haverstock) <br />
145+
> Sharon [@sharon-zhu](https://github.com/sharon-zhu) <br />
146+
> Sieun [@sieunjang](https://github.com/sieunjang) <br />
147+
> Terence [@TERR-inss](https://github.com/TERR-inss) <br />
148+
> Tolan [@taoantaoan](https://github.com/taoantaoan) <br />
149+
> Tristen [@twastell](https://github.com/twastell) <br />
111150
> Tyler [@tytyjameson](https://github.com/tytyjameson)
112151
<hr>
152+
153+
***
154+
155+
# If You Want To Contribute:
156+
The following is a list of features + improvements for future open-source developers that the Spearmint team has either started or would like to see implemented. Or, if you have additional new ideas, feel free to implement those as well!
157+
- Vue test generation
158+
- Github OAuth login (was available in previous versions, but the components used became deprecated)
159+
- Additional security testing functionality

0 commit comments

Comments
 (0)