Skip to content

anhhh11/React-Testing-Webpack-Jasmine

 
 

Repository files navigation

React-Testing-Webpack-Tape

Boilerplate for bdd / tdd / testing with Tape + Testem + Webpack + React

recompiles + re-runs test on file updates!

Installation

npm install //install dependencies

Usage

npm start //start webpack-dev-server with react-hot-loader

Open another terminal tab and then :

npm test //start testem + tape

Dependencies

tape - tap-producing test harness for node and browsers

testem - test runner

webpack - a bundler for JavaScript

webpack-dev-server - updates browsers on changes

react - View for our app

react-hot-loader - used for hot reloading

babel - compiler for converting ES6

Not quite right?

I'm unsure if the use of glob to compile my tests is the fastest way pretty sure there should be a way with webpack. Feel free to contribute or open issues if you spot errors =)

About

Boilerplate for bdd / tdd / testing with Tape + Testem + Webpack + Babel + React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.0%
  • JavaScript 5.9%
  • HTML 0.1%