You searched for phpunit

  1. Rapid Application Development with CakePHP

    is used optionally for PHPUnit tests). Each variable is an associative array of settings that should be familiar to you: hostname, login, password, database, and prefix. The datasource key sets which database driver to use and the default is MySQL (Database/Mysql). CakePHP uses PDO and so it also
  2. PHP Namespaces

    and class names using underscores; the mail class in the blog component was named Blog_Mail. This practice led to many long, and sometimes confusing, class names. Consider the name of a class in the PHPUnit framework, PHPUnit_Framework_MockObject_Matcher_StatelessInvocation. This obviously isn't
  3. Effortless (or Better!) Bug Detection with PHP Assertions

    .org/. Unit Testing Modern development methodologies such as Extreme Programming advocate that you write unit tests before you write code. Whether or not you want to go this far, you'll find you spend less time writing unit tests if you have help automating their execution. Consider using PhpUnit
  4. Test Driven Development: Are You Test-infected?

    often go hand in hand. TDD usually starts with a unit test framework. That is not to say that test-driven development is unit testing - it's not. Because I develop primarily with PHP, I chose SimpleTest, written by Marcus Baker. PHP offers another popular unit test framework called PHPUnit, but I opted
  5. Getting Started with PEAR - PHP's Low Hanging Fruit

    account). Option 6: Test Directory - Place any unit test scripts provided with the package, normally for execution under PEAR::PHPUnit, here. Again, something like $prefixtests for Windows ($prefix/test -- LAMP). That's the hard part done. Continue following the prompts and the Installer