In this post, I discuss the usefulness of clean coding and static analyzers used to introspect it. I will also outline a few neat tools and tricks to get there faster. Static Analyzers Statically analyzing your code can be super…
Category: Testing
Continuous Integration with Jenkins
CI with Jenkins and GitHub is especially interesting for private repositories, as CI with Travis is mainly for free GitHub repos (unless you have Travis Pro, of course). But since Jenkins is OpenSource and free, it might make sense to…
CakePHP Tips – Summer 2013
While CakePHP 2.4 is now just around the corner (already beta), a few tips gathered the last few days. Don’t mix controller and component pagination Currently, if you mix controller pagination setup and call the Pagination component then, it can…
Continuous integration with Travis and CakePHP
I must admit that I only recently started to take testing more seriously. In the past, I just created tests if too much time was available. But the larger projects get, the more just minor changes will most likely break…
Unit-Testing Tips for 2.0 and PHPUnit
Quite some time ago I wrote about Unit testing. But that was still in 1.3 and with SimpleTest. A lot has changed since then. Execution Order The documentation wasn’t all that clear about it. So I tried it with the…
Unit-Testing in CakePHP
Warning: Some information my be deprecated! This is still from 1.3 and SimpleTest. CakePHP now uses PHPUnit in 2.x – please see the updated article here. Some tips you might not have read about yet Since the cookbook is quite…