News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Software Testing Magazine:
PHPUnit Tips & Tricks
October 11, 2013 @ 09:42:44

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
0 comments voice your opinion now!
phpunit tips tricks advanced static framework database

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

blog comments powered by Disqus

Similar Posts

Staw Dogs Blog: PHP Sinatra Clones

Felix Geisendorfer's Blog: Migrating from WordPress to CakePHP

Reddit.com: About to start learning my 1st MVC framework... What are your recommendations?

Felix Geisendörfer's Blog: Welcome to the Dark Side of Plugins in CakePHP

DevShed: Generating Outputs from MySQL with Static Members and Methods in PHP 5


Community Events











Don't see your event here?
Let us know!


introduction framework hack overview threedevsandamaybe language package application component podcast release symfony2 unittest hhvm install composer code opinion facebook security

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework