Qafoo GmbH - passion for software quality

Help you and your team benefit from new perspectives on cutting-edge quality engineering techniques and tools through the Qafoo team weblog.

Posts around PHPUnit

  • Mocking with Phake

    by Benjamin Eberlei on Wed, 13 Mar 2013 09:24:48 +0100

    The use of Mock and Stub Objects is an important skill to learn when using Test Driven Development (TDD). Mock objects allow you to replace dependencies of an object with lookalikes, much like crash test dummies are used during automobile safety tests so humans aren't harmed. Read more on Mocking with Phake

  • Testing file uploads with PHP

    by Manuel Pichler on Thu, 09 Dec 2010 09:37:11 +0100

    A question I am asked on a regular basis is, how you can test a file upload with PHP. In this blog post, I take a precise look at this topic and show you how to test your file uploads from within your standard testing environment, using widely unknown testing framework for PHP. Read more on Testing file uploads with PHP

  • IPC 2010 recap

    by Tobias Schlitt on Fri, 15 Oct 2010 12:28:48 +0200

    The International PHP Conference 2010, the 10th instance of this yearly PHP family meeting, ended yesterday. It was an amazing event again and we had many nice discussions. Beside that, all three Qafoo members presented talks on various topics, for which we now uploaded the slides to our talks page. Find below a short review about our sessions. If you attended any of them, please do not forget to give us some feedback via joind.in! Read more on IPC 2010 recap

  • Practical PHPUnit: Testing XML generation

    by Kore Nordmann on Fri, 17 Sep 2010 10:24:51 +0200

    Testing classes which generate XML can be a cumbersome work. At least, if you don't know the right tricks to make your life easier. In this article, I will throw some light upon different approaches and show you, how XML generation can be tested quite easily using XPath. Read more on Practical PHPUnit: Testing XML generation

  • Testing legacy code

    by Manuel Pichler on Mon, 02 Aug 2010 11:19:09 +0200

    Today we know about the benefits of Test Driven Development and normally also start new projects using TDD. Most projects from the last couple of years integrated this method in their daily development process, which often results in in good code coverage results of 90% and above. But what about all the other old projects, you still manage in your daily work? Read more on Testing legacy code

1