Skip to content

22mayank/Unit-Testing-in-UI-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Unit-Testing-in-UI-

Unit Test cases written for UI testing using Jest and Enzyme.

About Jest - As per Jest official website jestjs.io "Jest is a delightful JavaScript Testing Framework with a focus on simplicity. It works with projects using: Babel, TypeScript, Node, React, Angular, Vue and more!"

Github Repo of Jest - https://github.com/facebook/jest

Feature of Jest - a) Fast and Safe. b) Code coverage. c) Easy Mocking. d) Great Exceptions.

Getting Started : Install Jest using yarn:

yarn add --dev jest Or npm:

npm install --save-dev jest

About Enzyme - "Enzyme is a JavaScript Testing utility for React that makes it easier to test your React Components' output. You can also manipulate, traverse, and in some ways simulate runtime given the output.

Enzyme's API is meant to be intuitive and flexible by mimicking jQuery's API for DOM manipulation and traversal."

Github Repo of Enzyme - https://github.com/airbnb/enzyme

Getting started : npm i --save-dev enzyme enzyme-adapter-react-16

About

Unit Test cases written for UI testing using Jest and Enzyme.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors