O'Reilly logo

Mastering Yii by Charles R. Portwood II

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

Automatic change testing

An important aspect of testing is ensuring that your tests are run regularly and often. If you're following the test-driven development philosophy, you should be writing your tests before writing code and adapting your tests as new code is added. While this will give you a good idea of what is working and what isn't, it can be extremely time-consuming, and it doesn't cover cases where team members make changes but either don't write tests or don't run them before committing and pushing them to your DCVS repository.

The best way to ensure that your tests are run after every change is to use a third-party service, such as Travis CI. A tool such as Travis CI will add a webbook to your repository, and after every commit, it ...

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