Automated testing has been around for years and for good reason. When working with complex apps, you can’t possibly re-test all the features after refactoring your code or introducing new ones. Automated tests make our lives as developers easier by doing all the dirty job for us. However, explaining instructions to tests isn’t always as easy as it sounds. Let’s teach you about how to write tests for various parts of your app.
For more on testing, you might be interested in Test-Driven Development in Node.js. Alternatively, Ruby Metaprogramming has you covered for more Ruby lessons.