Swizec / react-testing-example

A sample project to investigate testing options with ReactJS

Home Page:http://swizec.github.io/react-testing-example/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing React components with Karma runner - example

Running tests

This is the example code for a companion article on testing React modules. Following this code you can take your front-end testing beyond unit tests and achieve the following:

  • a way to test user events
  • test the response to those events
  • make sure the right things render at the right time
  • run tests in many browsers
  • re-run tests on file changes
  • work with continuous integration systems

About

A sample project to investigate testing options with ReactJS

http://swizec.github.io/react-testing-example/


Languages

Language:JavaScript 100.0%Language:HTML 0.0%