Overview
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.
Objective
To demonstrate the advantages of test driven development
Target Audience
Front-end developers
Assumed Audience Knowledge
Experience with front-end development, an understanding of Javascript with some exposure to the React library.
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
- How to run tests on JavaScript applications
- Ways to isolate your tests to specific functionality