Here is an interesting rough systematization in a table view of Continuous Delivery process. It is composed by Sveinung Dalatun and Stein Inge Morisbak employees of a Norwegian company named Bekk. They called this table A Maturity Model for Continuous Delivery. This model was published once in a Norwegian paper magazine called “The Developer” number 3 year 2013. There is a short description-article following the Model published in The Developer. The are Some quite interesting thoughts there.
Use case: As a developer I want to see PHP source code in TeamCity build.
It is quite useful sometimes to observe code that used for build and tests of a project.
I have a couple of Merurial repos on BitBucket. And I have a CI TeamCity server on Windows. I want to integrate my local TeamCity with remote repos on BitBucket through SSH.
While testing PHP we need sometimes to create a mock for a method with reference parameters. I use returnCallback() from PHPUnit framework to to this. returnCallback() will call a function that imitates functionality of the original method. The original method can be either public or protected.