Skip to content

kudachambwe/jest-jslint-introduction

Repository files navigation

Introduction to Static and Dynamic testing using JS

This is a simple example for how to do static testing (JSLint) and perfoming dynamic testing with the help of Jest.

Why JS?

  • Rapid growth of popularity during recent years (among job recruiters)
  • More and more projects (GitHub) are written in javascript
  • Huge ecosystem of libaries and frameworks (ReactJS, AngularJS, VueJS etc)
  • Easy and quick to learn (slow learning curve)

Why JSLint?

  • Improves code quality
  • Minimizes bug-proned code
  • (-) Can be unnecessary and annoying (e.g. on harmless features)..

Why Jest?

  • Free and very easy to setup
  • Lets you generate and watch test results
  • Generates code coverage reports
  • Built and used by Facebook
  • Used by other heavy supporters (e.g. Spotify, Instagram, Paypal, Reddit, Twitter, Oculus, Pinterest etc.)

Built with

  • JSLint - Static code analysis tool for checking JS code compliance with code rules.
  • Jest - Testing framework for unit testing made by Facebook

About

Introduction to static and dynamic testing with javascript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published