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
Sometimes some test assertions require custom failure messages. Is it supported by the test framework? There are of course always the clunky myjinxin way:
Set one variable to string A if condition passes, else set it to string B
Write a test assertion that compares said variable should equal string A
If test fail, the message would say something along Expected "condition fulfilled", got "did not fulfill condition"
But something cleaner and easier to you would be better.
The text was updated successfully, but these errors were encountered:
Sometimes some test assertions require custom failure messages. Is it supported by the test framework? There are of course always the clunky myjinxin way:
Expected "condition fulfilled", got "did not fulfill condition"
But something cleaner and easier to you would be better.
The text was updated successfully, but these errors were encountered: