O'Reilly logo

Learning Yii Testing by Matteo Pescarin

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

Introducing testing for our purposes

Now that we have defined what to do, we need to discuss what kind of testing is needed and how much of it we want to test, based on the approaches we have outlined in Chapter 1, The Testing Mindset.

We're going to cover the following areas of testing:

  • Unit tests: This is to achieve isolated components testing
  • Integration tests: This is to ensure the various components are working well together
  • Acceptance tests: These are the most relevant types of tests from the user perspective, as they try to meet the right requirements defined at the beginning

Clearly, without knowing how our application is structured, it is hard to understand what kind of work we're going to endure.

So, before getting into defining the actual ...

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