Skip to content

LDX-Lab/workshop-unit-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unit Testing 101 Workshop

By LDX Lab

0. Prerequisites

  • Git
  • Node.js v14 (advice: install it via nvm)

1. Install

Install all dependencies in this project:

npm install

2. Run the code

This code samples a calculator and a third party service. To see it working, run: npm run start:calculator or npm run start:time

3. Test it!

Run npm test to run all tests in /test folder. Run npm run test:coverage to run all tests with the coverage report

About

Unit Testing 101 Workshop for interns

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published