Skip to main content


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.


Name Type Description
reason string The failure reason to use.


  • The message provided in the string will be used as the warning for the probe in the test result
  • See also rtcFail() and rtcFailAll()

Was this article helpful?

0 out of 0 found this helpful