Skip to content

Testing, simplified. || An inclusive, accessibility-first GUI for generating clean, semantic Javascript tests in only a few clicks of (or keystrokes) of a button.

License

Notifications You must be signed in to change notification settings

WilliamARamirez/spearmint

 
 

Repository files navigation

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.

Installation

Please download spearmint from our website. Available for Mac OS, Windows and Linux.

How to use in development mode

For Mac developers

Prerequisite: Install Xcode

First install

  1. Fork and clone this repository.
  2. npm run install-once
  3. npm run start

For Windows developers

Prerequisite: Install Python and Microsoft C++ Build Tools.

In an Administrator PowerShell run the following commands:
choco install python visualcpp-build-tools -y
npm config set msvs_version 2017

  1. Fork and clone this repository.
  2. npm run install-once
  3. npm run start-windows

How it works

  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.

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

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

  2. Lastly click Run Test button and follow the guide and click what type of test you would like to perform.

  3. Accessibility lens have been added in the app to give developers with different mismatches various options to interact with the app.

New features with version 0.7.0

-Sign-up and Login

-OAuth Login available through GitHub

-Save test states

-NEW Accessibility lenses for Low-vision and light sensitivity


Demo


The Spearmint Team


Alex @apark0720  ·  Alfred @astaiglesia  ·  Annie @annieshinn  ·  Ben @bkwak  ·  Charlie @charlie-maloney  · 
Chloe @HeyItsChloe  ·  Cornelius @corneeltron  ·  Dave @davefranz  ·  Dieu @dieunity  ·  Eric @ericgpark  ·  Evan @Berghoer  · 
Gabriel @bielchristo Johnny @johnny-lim  ·  Julie @julicious100  ·  Justin @JIB3377  ·  Karen @karenpinilla  · 
Linda @lcwish  ·  Luis @Luis-KM-Lo  ·  Max B@mbromet  ·  Max W @MaxWeisen  ·  Mike @mbcoker  ·  Mo @mhmaidi789  · 
Natlyn @natlynp  ·  Nick @nicolaspita  ·  Rachel @rachethecreator  ·  Sean Y @seanyyoo ·  Sean H @sean-haverstock  · 
Sharon @sharon-zhu  ·  Sieun @sieunjang  ·  Tolan @taoantaoan  ·  Tristen @twastell  ·  Tyler @tytyjameson


About

Testing, simplified. || An inclusive, accessibility-first GUI for generating clean, semantic Javascript tests in only a few clicks of (or keystrokes) of a button.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 56.5%
  • TypeScript 31.6%
  • SCSS 11.5%
  • Other 0.4%