cassandrasoco / spearmint

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

Home Page:https://www.spearmintjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  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.


Demo


The Spearmint Team


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


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.

https://www.spearmintjs.com

License:MIT License


Languages

Language:JavaScript 54.9%Language:TypeScript 32.9%Language:SCSS 11.9%Language:HTML 0.3%