Cactus is a simple test framework for unit testing server-side java
code (Servlets, EJBs, Tag Libs, Filters, ...).
Cactus は サーバー側の java のコードの単体テストを行うための簡潔なテスト用フレームワークです。
(Servlet、EJB、JSP のタグライブラリ、フィルター、...)
The intent of Cactus is to lower the cost of writing tests for
server-side code. It
uses JUnit and extends it.
Cactus の目的とするところはサーバー側で実行されるコードに対して、
テストを書く為の手間や掛かる時間を下げる事です。
Cactus は JUnit をベースに、
それを拡張したものです。
Cactus has been developed with the idea of automatic testing in mind
and it provides a packaged and simple
mechanism based on Ant
to automate server-side testing.
Cactus は自動テストのアイディアの実現を念頭に開発されてきています、
そしてサーバー上でのテストを自動的に行う為に
Ant と連動して動作する、
簡単でパッケージ化された機能を提供します。
Cactus implements an in-container strategy (click on the diagram below
to understand how it works). An alternative but complementary approach
not covered by Cactus is to use Mock Objects (see the
Mock vs Container page to
understand the differences and why Cactus believes in the
usefulness of an in-container approach).
Cactus は コンテナー内戦略を採用しました。
(それがどのように働くかを理解する為に下のダイアグラムをクリックしてください。)
Cactus ではカバーされていませんが、これを補うようなアプローチとして、
モック・オブジェクトを利用するものがあります。
(Cactus との違いや Cactus がなぜコンテナー内戦略の有用性を信じているのかを理解するために
モック対コンテナーのページを参照してください。)
