0.14 - 15
The definition of "legacy code" can be described simply as "code that doesn't have tests." Code you just wrote, 5 minutes ago? Legacy code. Code that can't be refactored, but only changed.
How do we prevent the mountain of legacy code that most projects become?
A solid testing strategy.
React apps are no different, and can be tested simply if you know some core principles.
In this course we will take a look at testing React applications. From getting setup and running tests, all the way through testing Redux enabled React applications.
A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.
Despite it is a little old, and I wouldn't test with Mocha in 2020, yet core principles are still relevant.
very practical, I found what I was looking for, just a simple course to understood how testing was done before testing library, and examples of shallow rendering. thanks Trevor
Two might have been a bit harsh! I was just slightly more knowledgeable than this in TDD and might have a different test philosophy.
I guess I was looking for something with more depth :
that the videos where short and clear :)
Awesome!!! Brief, concise and very easy to understand. Many thanks for this.
Testing an all-React front-end app, plus looking into the Redux testing for other apps.
A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.