GoogleCloudIntegrationsV1alphaTestTaskConfig constructor
const
GoogleCloudIntegrationsV1alphaTestTaskConfig({
- Input<
List< ? assertions,GoogleCloudIntegrationsV1alphaAssertion> > - Input<
GoogleCloudIntegrationsV1alphaMockConfig> ? mockConfig, - required Input<
String> task, - required Input<
String> taskNumber,
Creates a new GoogleCloudIntegrationsV1alphaTestTaskConfig.
assertions Optional. List of conditions or expressions which should be evaluated to true unless there is a bug/problem in the integration. These are evaluated one the task execution is completed as per the mock strategy in test case
mockConfig Optional. Defines how to mock the given task during test execution
task This defines in the test case, the task name in integration which will be mocked by this test task config
taskNumber This defines in the test case, the task in integration which will be mocked by this test task config
Implementation
const GoogleCloudIntegrationsV1alphaTestTaskConfig({
this.assertions,
this.mockConfig,
required this.task,
required this.taskNumber,
});