Conclusion

Get an overview of what we've learned in this chapter and throughout the course.

We'll cover the following

In this chapter, we explored a couple of techniques to help when trying to test a legacy Rails project. We saw how integration tests could create test coverage without being concerned with the structure of the legacy code. We then saw how to use unit tests to build an understanding of how the code works. We also explored techniques to inject code into the system to change its behavior during tests to focus the test on a particular piece of code.

Get hands-on with 1200+ tech skills courses.