Skip to content

Latest commit

 

History

History
50 lines (26 loc) · 1.17 KB

README.md

File metadata and controls

50 lines (26 loc) · 1.17 KB

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 =)