Articles tagged with "phpunit"X
Displaying 1-6 of 6 result(s).

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

Created 4 years ago by rAWTAZHow-tos0 comments – viewed 36,908 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.

How to re enable logging during unit testing

Created 5 years ago by AsgarothHow-tos3 comments – viewed 15,597 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.

Functional Testing in Yii using Goutte and PHPUnit

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

TDD with PHPUnit_Story and Yii

Created 5 years ago by sidewinderTutorials1 comment – viewed 17,574 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.

Auto TDD - How to auto-run PHPUnit

Created 6 years ago by imeheszTips3 comments – viewed 15,898 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

NetBeans IDE and Yii projects

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