Now that Zend_Test has shipped, developers are of course asking, "How do I setup my test suite?" Fortunately, after some discussion with my colleagues and a little experimenting on my one, I can answer that now. PHPUnit offers a variety of methods for setting up test suites, some trivial and some complex. The Zend Framework test suite, for instance, goes for a more complex route, adding component-
Automatic testing of MVC applications created with Zend Framework This article contains information on how to improve your application stability by controlling how the changes affect the Model-View-Controller Zend Framework application. As a result, you will be able to deliver better software to your customers and reduce the time needed for testing of the software. Testing should be automatic The
今まで仕事でユニットテストというものを使った事がなかった(自動テストとか自動化というような文化があまりない・・・)。 仕事で PHP から離れたけど、家で PHP 使って遊んでいる。 せっかくだからユニットテストというものに触れて、ユニットテストを使ってみたい。 Zend Framework は PHPUnit が使われている。 それにあやかり、PHPUnit を使ってみる。 ググったら、PHPUnit3で始めるユニットテスト:特集|gihyo.jp … 技術評論社 が出てきた。 入門としてちょうどよさそう。 とりあえずサンプル通りに ArrayTest.php をコピペして、動かしてみる。 PHPUnit 3.2.13 by Sebastian Bergmann. .. Time: 0 seconds OK (2 tests)ちゃんと動いた。 次は ArrayTest ではなく、Zend
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く