AlexaSimulatorRule
This rule is responsible for setting up the device prior to running a test that uses the AlexaSimulator.
When AlexaSimulatorRuleConfig.isCaptureRun is true
, the AlexaSimulator service is started in RequestResponseMode.CAPTURE_MODE before starting the test.
When AlexaSimulatorRuleConfig.isCaptureRun is false
, the replay JSON file associated with the test is copied to the location expected by the AlexaSimulator.
Parameters
config
The configuration of this rule instance.