Sponsorised links
November 2009
How can I get PHPUnit MockObjects to return differernt values based on a parameter? - Stack Overflow
PHPUnitのMockObjectで複数のパラメータを持つメソッドをテストする方法。
August 2009
June 2009
Sponsorised links
May 2009
April 2009
March 2009
February 2009
Mocking : is there a difference between asking and telling?
Article expliquant en quoi librairie Mockito fait bien la différence entre les indirect input et les indirect output.
November 2008
October 2008
September 2008
August 2008
June 2008
April 2008
Unit Testing Custom Code with the Dojo Objective Harness
Many Dojo developers are aware of the Dojo Objective Harness (DOH) that the Dojo Toolkit uses for unit testing. Many people, however, want to use DOH for testing their own code or even non-Dojo code that they have written. While DOH has always supported this, there currently aren’t many examples of doing so. Let’s see if we can help that out.
January 2008
EclEmma - Java Code Coverage for Eclipse
Le plugin eclipse EclEmma utilise de manière sous-jacente le produit de couverture de test Emma et permet ainsi d'obtenir un retour concernant la couverture de code immédiat à l'intérieur d'Eclipse.
Le plugin est étonnamment simple et puissant.
December 2007
Unit Testing in PHP
Testing is an essential aspect of developing in any programming language. If you don't test your source code then how can you verify it works as expected? Manual testing can only be performed irregularly and usually only in limited ways. The answer to testing source code regularly, and in depth, is to write automated tests which can be frequently executed. In PHP such tests are usually written using a unit testing framework, a framework which allows the source code of any application or library to be tested as isolated units of functionality such as a single class or method. As unit testing has gained popularity, it has become a standard practice in PHP with libraries and frameworks such as Swiftmailer, the Zend Framework and Symfony all requiring unit test coverage of their source code.
