Skip to content

STT-VITI-22/stt-pz-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Practical lesson stt-pz-1

In this lesson is introduction to auto testing in javascript. Using Jest Jest is a delightful JavaScript Testing Framework with a focus on simplicity

What need to do:

  • Setting up the testing environment
  • Implement unit tests for lib.js functions according to Test Development Driven (TDD) concepts
  • Implement functions from libs.js

Acceptance criteria

  • Understand basic concepts of Test Development (TDD) in JavaScript
  • Setting up the testing environment
  • Build and run them
  • Code coverage must be mote than 90%

Getting started

Install npm packages

npm install

Run unit tests

npm run test

Directory Structure

├── stt-pz-1
│   ├── js
│   │   ├── lib.js
│   │   ├── lib.spec.js
│   ├── .editorconfig
│   ├── .gitignore
│   ├── jest.config.js
│   ├── package.json
│   ├── package-lock.json
│   ├── README.md 
└── 

Useful links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published