While there are many best practises and approaches to test driven development or TDD, the basic concept is that a developer writes tests prior to implementing a specific set of functionality. This can feel unintuitive or cumbersome, but test driven development can have numerous benefits. If done correctly, the methodology can help add a stable routine to your development process. It naturally creates short development cycles, well defined functions, and builds a stable suite of unit tests.
React has a strong test utility library, making it easy to test. This presentation will introduce some of the common libraries used for testing in React and the routine Lawton follows when developing.
To demonstrate the advantages of test driven development
Assumed Audience Knowledge
Five Things Audience Members Will Learn
- The benefits and disadvantages of test driven development
- How to incorporate test driven development into your development process
- Learn about useful React test libraries
- Ways to isolate your tests to specific functionality