2013年10月11日星期五

Software Testing Magazine: PHPUnit Tips & Tricks


The Software Testing Magazine site has posted some helpful tips for using PHPUnit in a new post. This is part of a series - the first post introducing PHPUnit and the second showing how to use mocks and stubs.



I have showed how to set up PHPUnit and how to get started with unit tests and how to handle mocking and stubbing objects in order to effectively isolate your code under test. This article will explore a few ways to get the most out of your PHPUnit tests.

They cover a few different topics including:



  • Working with static methods
  • Working with frameworks
  • Working with databases
  • Effective testing for current and new projects

Link: http://www.softwaretestingmagazine.com/knowledge/phpunit-tips-tricks/

没有评论:

发表评论