Instructs the probe to add a warning to the test result for this probe, providing a verbose warning message.
rtcWarning() can be used to add a warning notice to the test result for the running probe. This can be useful in functional tests where certain conditions are sought after.
Arguments
Name | Type | Description |
---|---|---|
reason | string | The failure reason to use. |
Notes
- The message provided in the string will be used as the warning for the probe in the test result
- See also rtcFail() and rtcFailAll()