by Chris Pitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

CHAPTER 11

images

Testing

We have written an enormous amount of code, so far. That’s an achievement, but it can quickly turn into a burden if our code needs to be changed. For anything as complex as a complete MVC framework, you can expect a lot of interconnected code. The more connected the code is, even with the separation that MVC affords our framework, the more likely that changes to code can break other code.

Imagine we wanted to add a few ORM methods to our Model class. They could require changes to methods we already created, and may subtly change the functionality already established. Usually, this will lead to unexpected breaks in our application. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required