Uses of Interface
nablarch.test.core.http.Advice
Packages that use Advice
Package
Description
HTTPリクエスト機能のテスト機能を提供する。
結合テストを自動化する機能を提供する。
-
Uses of Advice in nablarch.test.core.http
Classes in nablarch.test.core.http that implement AdviceModifier and TypeClassDescriptionclass
リクエスト単体テストコールバックの基本実装クラス。
リクエスト単体テストクラスを実装する際の型指定を簡略化するため、 本クラスはTestCaseInfo
の型を指定している。Methods in nablarch.test.core.http with parameters of type AdviceModifier and TypeMethodDescriptionprotected void
AbstractHttpRequestTestTemplate.afterExecuteRequest
(INF testCaseInfo, nablarch.fw.ExecutionContext context, Advice<INF> advice) 各業務テストコードの拡張ポイント
テスト対象リクエストの実行後に呼び出される。処理が不要であれば空実装でかまわない。protected void
AbstractHttpRequestTestTemplate.beforeExecuteRequest
(INF testCaseInfo, nablarch.fw.ExecutionContext context, Advice<INF> advice) 各業務テストコードの拡張ポイント
テスト対象リクエストの実行前に呼び出される。void
テストを実行する。 テスト前後に特別な準備処理や結果確認処理が必要な場合はこのメソッドを使用する。void
AbstractHttpRequestTestTemplate.execute
(String sheetName, Advice<INF> advice, boolean shouldSetUpDb) テストを実行する。void
テストを実行する。 テスト前後に特別な準備処理や結果確認処理が必要な場合はこのメソッドを使用する。void
テストを実行する。protected void
AbstractHttpRequestTestTemplate.executeTestCase
(String sheetName, Map<String, String> testCaseParams, Advice<INF> advice) テストケースを実行する。 -
Uses of Advice in nablarch.test.core.integration
Methods in nablarch.test.core.integration with parameters of type AdviceModifier and TypeMethodDescriptionvoid
IntegrationTestSupport.executeOnline
(String sheetName, String baseUri, Advice advice) オンライン処理方式のテストを実行する。