React is a very popular library, so you can find courses all over the web that will teach you how to use its amazing features. However, sometimes testing isn't talked about. React's functional programming model actually makes it easy to unit test components.
In this course, Envato Tuts+ instructor Andrew Burgess will teach you how to unit test your React components. You'll see how to use Enzyme, the Airbnb unit-testing library, which builds on top of React's own testing functionality.
We've built comprehensive guides to help you learn JavaScript and React, whether you're just getting started or you want to explore more advanced topics.
1.Introduction1 lesson, 00:52
1 lesson, 00:52
1.1Introduction00:52
1.1
Introduction
00:52
2.Unit Testing React Components4 lessons, 24:36
4 lessons, 24:36
2.1Setup05:07
2.1
Setup
05:07
2.2Write a Test05:34
2.2
Write a Test
05:34
2.3Shallow vs. Static Testing08:23
2.3
Shallow vs. Static Testing
08:23
2.4Full DOM Rendering Tests05:32
2.4
Full DOM Rendering Tests
05:32
3.Conclusion1 lesson, 00:29
1 lesson, 00:29
3.1Conclusion00:29
3.1
Conclusion
00:29
Hi! I'm Andrew Burgess, and I'm a connoisseur of all things programming.
I'm from near Toronto, Canada, and I've been fooling around with computers for nearly my whole life, both hardware and software. Right now, I'm finishing up a computer science degree. For almost a decade now, I've been playing around with over a dozen programming languages on several different platforms, from JavaScript to Java, from Ruby to Befunge. My favourite has always been JavaScript.
I've always enjoyed writing, so when I discovered Tuts+ in 2009, I was excited to start writing tutorials. Since then, I've been writing tutorials and producing screencasts for Tuts+. Right now, I'm a course instructor and I produce mostly JavaScript-related courses. Maybe you've seen Building a Web App from Scratch with Angular.js or Node.js from Scratch; that's me!
I've also written a few ebooks, like Getting Good with Git, Getting Good with JavaScript, and, more recently, Backbone.js Blueprints.