Wiki

Articles tagged with "phpunit", sorted by ratingX
Displaying 1-6 of 6 result(s).

NetBeans IDE and Yii projects

Created 4 years ago by marcovtwoutTutorials28 comments – viewed 168,613 times – ( +76 ) – version 1.1
This page is created to supply short directions and general tips for managing a Yii application in NetBeans IDE.

How to re enable logging during unit testing

Created 3 years ago by AsgarothHow-tos3 comments – viewed 11,844 times – ( +11 ) – version 1.1
Some of you have experienced the need to log some information while doing unit testing, due to the fact that the information given in the summary is just not enough, to know why the test is actually failing. this article focuses on 2 ways to get you logs up and running again.

TDD with PHPUnit_Story and Yii

Created 3 years ago by sidewinderTutorials1 comment – viewed 14,433 times – ( +7 ) – version 1.1
Unfortunately Sebastian Bergmann decided to remove PHPUnit_Story from future PHPUnit versions. Thanks to elvan for pointing me to the relevant comment. As an alternative Behat has been suggested but it seems too bloated for me TBH. There is also PHPSpec but it's non flexible enough for me and tightly bound with English language (What's the purpose of using DSL if customers can't speak English). Since both frameworks are quite young I think I'll just stick to PHPUnit and see what's going on on the BDD frameworks arena. Even PHPUnit_Story parts of this entry are going to be deprecated soon, rest is still valid! When doing TDD, please write tests with design and behaviour of application in mind instead of testing single functions.

Functional Testing in Yii using Goutte and PHPUnit

Created 3 years ago by puteraTutorials2 comments – viewed 17,234 times – ( +7 ) – version 1.1
Functional Testing in Yii using Goutte and PHPUnit

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

Created 2 years ago by rAWTAZHow-tos0 comments – viewed 24,638 times – ( +7 ) – version 1.1
This article intends to summarize the steps taken to set up PHPUnit and Selenium for a Yii project, with IntelliJ IDEA Ultimate (the IDE). It was done on Mac OS X 10.6.

Auto TDD - How to auto-run PHPUnit

Created 4 years ago by imeheszTips3 comments – viewed 12,972 times – ( +3 / -1 ) – version 1.1
If you are lucky enough and have the privilege to develop on a Linux based environment, this little tip might boost-up your TDD process (at least the Unit Testing part). Please note, that this should work just fine with Apple computers also, but not tested!
tags: PHPUnit, testing, TDD