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 voidAbstractHttpRequestTestTemplate.afterExecuteRequest(INF testCaseInfo, nablarch.fw.ExecutionContext context, Advice<INF> advice) 各業務テストコードの拡張ポイント
テスト対象リクエストの実行後に呼び出される。処理が不要であれば空実装でかまわない。protected voidAbstractHttpRequestTestTemplate.beforeExecuteRequest(INF testCaseInfo, nablarch.fw.ExecutionContext context, Advice<INF> advice) 各業務テストコードの拡張ポイント
テスト対象リクエストの実行前に呼び出される。voidテストを実行する。 テスト前後に特別な準備処理や結果確認処理が必要な場合はこのメソッドを使用する。voidAbstractHttpRequestTestTemplate.execute(String sheetName, Advice<INF> advice, boolean shouldSetUpDb) テストを実行する。voidテストを実行する。 テスト前後に特別な準備処理や結果確認処理が必要な場合はこのメソッドを使用する。voidテストを実行する。protected voidAbstractHttpRequestTestTemplate.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 TypeMethodDescriptionvoidIntegrationTestSupport.executeOnline(String sheetName, String baseUri, Advice advice) オンライン処理方式のテストを実行する。