Monthly Archives: January 2014

Behat, login and fixtures

January 30, 2014
By

I want to use behat for some of the  testing of a new project and I  found a thing that’s not so easy to implement: actual login without a registration form The project right now doesn’t have a proper registration form, so I cannot use the registration process, also I don’t want to be...

Read more »

Code coverage and libraries

January 15, 2014
By

Phpstorm defaults to computing code coverage reports for unit tests, bbut this can become an issue if you use big third party libraries. The solution is simple and is to blacklist library files in phpunit configuration You need to pay attention to a detail though: whitelist block (if present) overrides the blacklist one in...

Read more »