mockStrategy property

String? mockStrategy
getter/setter pair

Mockstrategy defines how the particular task should be mocked during test execution Possible string values are:

  • "MOCK_STRATEGY_UNSPECIFIED" : This should never be used to annotate a field
  • "NO_MOCK_STRATEGY" : Execute actual task
  • "SPECIFIC_MOCK_STRATEGY" : Don't execute actual task, instead use the values specified by user for output of the task
  • "FAILURE_MOCK_STRATEGY" : Don't execute actual task, instead return task failure
  • "SKIP_MOCK_STRATEGY" : Don't execute actual task, instead mark it as successful

Implementation

core.String? mockStrategy;