You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to log some contextual information to the console, or a log, when an assertion fails?
If so, how would I do that? If not, I think it would be a useful feature.
The text was updated successfully, but these errors were encountered:
marke-apexit
changed the title
How can I log additional information when an assertion fails?
Is it possible to log some contextual information when an assertion fails?
Dec 3, 2022
I discovered that is what the message parameter is on the assertion tests.
However, it would be nice if the assertion could take a callback function parameter so it would be possible to execute code that could do custom logging.
Is it possible to log some contextual information to the console, or a log, when an assertion fails?
If so, how would I do that? If not, I think it would be a useful feature.
The text was updated successfully, but these errors were encountered: