Let's do a deep dive into the first of the SOLID principles. What is a responsibility? Why should it be single? How do we make it single? We'll examine all these issues in extreme detail. We'll look at some old code to see whether it conforms or not. We'll also look at various design patterns and strategies that help us conform to this principle.
Here it is, a one stop, rapid-fire tour through the very best and most useful testing tools and tricks that the Rails ecosystem has to offer. This is not about testing theory, it's about getting testing done quickly and efficiently without reinventing the wheel.
Back in 1999, Kent Beck popularized test-first development with his industry changing book eXtreme Programming Explained. Since that time, testing in our applications is not something that would be nice to have, but essential to inspire confidence, catch regressions, and encourage simple designs. However, since tests have become such a large percentage of our applications, they also are prone to code smells and various testing anti patterns.
In his talk, Kevin Faustino will go through various Testing AntiPatterns he has found in Rails projects.