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
Most assertions libraries allow you to specify a custom message/label as the last argument. This is tricky for test plan because some effect assertions like call take variable number of arguments. What might work best is an additional method that allows you to set a custom message for the next assertion, or an additional function on each effect assertion.
Hi, @omniroot. Thanks for the suggestion, but unfortunately, that wouldn't work for other assertions like take which actually can take a string as the first argument. We could create a function that creates a special object for messages via a helper function, but I'm not a big fan of that.
Most assertions libraries allow you to specify a custom message/label as the last argument. This is tricky for test plan because some effect assertions like
call
take variable number of arguments. What might work best is an additional method that allows you to set a custom message for the next assertion, or an additional function on each effect assertion.Something like this:
Or something like this:
Other suggestions and ideas are welcome.
The text was updated successfully, but these errors were encountered: