Home

Awesome

react-tdd-guide

A series of examples on how to TDD React

Getting started

  1. install nvm

How to use this guide

Each section is broken out into its own folder, starting with basics. What you'll find there is the finished example. I am experimenting with using the commit history and comments to drive the guide itself. Feedback on whether this works or not would be appreciated.

Each commit that is suffixed with "- red" can be checked out separately to examine the failing test. Each commit that is suffixed with "- green" shows how I finally passed the failing assertion.

Looking at the history for each section will show you only the steps needed to drive that part of the application.

Philosophy

Table of Contents

Running the tests for a section

Running all tests

Contributing

Please feel free to open an issue for:

Use a pull request for

Caveats

I am not a windows user, therefore this has only been tested on OSX.