O'Reilly logo

Developing a React Edge: The JavaScript Library for User Interfaces by The League of Extraordinary Developers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. Testing

So now that your SurveyApp is starting to take shape and you’re learning the pleasure of React.js components, let’s take a step back for a bit before diving into the next shiny new feature.  When you are starting a new application, productivity is very simple because you just crank out more code.  But as your application evolves, if you aren’t careful you can find yourself with a codebase that is a twisted mess, which is very hard to change.  That is why you have a very powerful tool in your toolbox - automated testing.  Automated testing, usually employed through a Test Driven Development (TDD) workflow, can help you achieve code which is simpler, more modular, is less brittle to change, and can be changed with more confidence.  ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required