Skip to content

Testing_Guide

Jasonlin1198 edited this page May 31, 2020 · 4 revisions

Testing Guide

Table of Contents

  1. Tool Overview
  2. Jest
  3. Useful Links

Tool Overview

The tools we use for testing include:

  • Jest

How to install our tools

After cloning our repository, run the command: npm install

Jest

Jest is a JavaScript Testing Framework with a focus on simplicity.

Jest Example

test('1 is 1', () => {
	expect(1).toBe(1);
});

Command to run all unit tests

We set it up to run all npm run test

Useful Links

  1. Jest Documentation
Clone this wiki locally