Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JSFUnit と組み込みの Jetty を使用して JSF アプリケーションをテストしたいと考えています。これどうやってするの?これを示すドキュメントはありますか?
junit4 の @BeforeClass を使用してプログラムで jetty サーバーを起動しましたが、@BeforeClass で注釈が付けられた静的メソッドが実行される前に、JSFUnit がサーバーに接続しようとしているようです。
mavenビルドの一部としてjettyを起動するためにmortbayプラグインを使用しています。お役に立てれば。