@Retention(value=RUNTIME) @Target(value=METHOD) public @interface DoNotRecord
Pass true for skipInPlayback to indicate that the test shouldn't run when tests are
ran in TestMode.PLAYBACK. A common case for setting this to true is when the test has either
sensitive content that cannot be redacted or calls into code that cannot be mocked.
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
skipInPlayback
Returns whether the test will be ignored during a
playback test run. |
public abstract boolean skipInPlayback
playback test run.Copyright © 2020 Microsoft Corporation. All rights reserved.