German Article on PHPUnit 3

Sebastian Bergmann » 13 March 2007 » in Articles » 1 Comment



Issue 3.2007 of the German PHP Magazine is out and features an article on PHPUnit 3 by yours truly as its cover story.

Here's the article's abstract:
PHP hat sich von der Nischensprache, mit der man ursprünglich nur dynamische Funktionalität zu HTML hinzufügen konnte, zu einem mächtigen Werkzeug entwickelt, das immer häufiger für die Entwicklung von geschäftskritischen Applikationen eingesetzt wird. Diese unternehmenskritische Geschäftslogik muss korrekt arbeiten, aber wie stellt man dies sicher? Natürlich durch Testen.

Testen mit PHPUnit unterscheidet sich nicht wesentlich von dem, was Sie bereits tun sollten, es ist lediglich eine andere Methode. Der Unterschied besteht darin, dass Sie nicht einfach nur testen, sondern eine Reihe von Tests anwenden, nämlich Codefragmente, die eine Anwendung automatisch überprüfen und sicherstellen, dass sie sich den Erwartungen entsprechend verhält. Diese Codefragmente nennt man auch Unit-Tests.
The article gives an introduction to unit testing, shows how to install PHPUnit and how to write tests, both using the standard way (by extending PHPUnit_Framework_TestCase) and by using @assert annotations. It also touches on topics such as Code Coverage, Mock Objects and PHPUnit's integration with Selenium RC.
Defined tags for this entry: , ,

Trackback specific URI for this entry

1 Comment to "German Article on PHPUnit 3"

Display comments as (Linear | Threaded)
  1. Pierre
    13/03/2007 at 14:26 Permalink
    Good work, thank you for that article!

    Reply

0 Trackbacks to "German Article on PHPUnit 3"

  1. No Trackbacks

Add Comment


To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Submitted comments will be subject to moderation before being displayed.