TAG | Sebastian Bergmann
24
[Best practice] How to ship PHPUnit configuration
6 Comments · Posted by Christian in The right tool
PHPUnit offers quite a lot options to be set as arguments on the commandline. However this is tedious when typing over and over again.
For this reason you can create an XML configuration file phpunit.xml that will automatically be used by the phpunit binary.
Now you may want to include this configuration file in your projects sourcecode to be used by all participating developers and your continuous integration server. But how?
(more…)
best practice · Continuous Integration · phpUnit · Sebastian Bergmann
19
Quick start guide to install Hudson on Gentoo Linux (or any other)
5 Comments · Posted by Christian in The right tool
Lately I was playing around with my old Hudson installation to try and use Sebastian Bergmanns PHP Hudson template. But in the end I only had it halfway working and was increasingly confused by the number of plugins I had installed.
So I decided to make a backup of everything and start from scratch with a fresh install. Only there are no official ebuild for my Gentoo box..
Continuous Integration · Gentoo · Git · GitHub · Hudson · Sebastian Bergmann
25
Entspricht mein symfony Plugin dem roten Grad des Clean Code Developers (CCD) ?
3 Comments · Posted by Christian in The real job
Wie ich gestern angekündigt habe, werde ich damit beginnen mein sfImageTransformExtraPlugin anhand der Clean Code Developer Grade zu überprüfen angefangen mit dem roten.
Implizit überprüfe ich mich damit natürlich selbst.
Die gute Nachricht ist, dass ich alleine mit dem Interesse bereits den schwarzen Grad erreicht habe. Die eigentlich Arbeit beginnt aber mit dem roten Grad. Dann mal los!
CCD · Clean Code Developer · DRY · FCoI · KISS · Pfadfinderregel · phpcpd · Refactoring · Refektion · Root Cause Analysis · Sebastian Bergmann · sfImageTransformExtraPlugin
1
Warum ich für Unit Tests in symfony Projekten nun doch PHPUnit statt lime verwende
3 Comments · Posted by Christian in The right tool
Letzte Woche sprach mich ein Kollege auf meine Entscheidung an, lime statt PHPUnit und Hudson statt phpUnderControl zu verwenden. Er zeigte sich sehr kritisch vor allem gegenüber lime. Als ein Argument warf er in den Raum, dass ein weiterer Kollege – aus der Java Entwicklung kommend – nach circa 15 Minuten mit lime sinngemäss das Resumé zog “So einen Sch*** verwende ich bestimmt nicht!”. Und tatsächlich so war es gewesen. Ich habe mittlerweile ja einige eigene Erfahrungen mit lime gesammelt und kann nun, denke ich, etwas differenzierter argumentieren.
Das Resultat nimmt bereits die Überschrift vorweg. Die Frage ist: warum der Wandel?
Continuous Integration · Hudson · Integrations Tests · lime · phpUnit · Sebastian Bergmann · symfony · Test Coverage · Tests · Unit Tests · xUnit


