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
When editing tests, I often find myself wanting to validate things by evaluating partial expressions in Sly, for example:
(let ((v (vector123)))
(=3 (length v)))
But with 5am, if I have such a thing in a test, it will be like this:
(let ((v (vector123)))
(is (=3 (length v))))
and now if I try to evaluate the let, I will get The variable IT.BESE.FIVEAM::CURRENT-TEST is unbound.
This is an open question - would it be reasonable to have the various 5am forms, such as is etc, be essentially progn's when there is no current-test? Maybe it's a problem with my workflow, but I find myself having to temporarily remove them when editing to debug & test my tests
This shouldn't have any effect on existing tests, just make the editing experience a little nicer.
Thanks!
The text was updated successfully, but these errors were encountered:
When editing tests, I often find myself wanting to validate things by evaluating partial expressions in Sly, for example:
But with 5am, if I have such a thing in a test, it will be like this:
and now if I try to evaluate the
let
, I will getThe variable IT.BESE.FIVEAM::CURRENT-TEST is unbound.
This is an open question - would it be reasonable to have the various 5am forms, such as
is
etc, be essentiallyprogn
's when there is nocurrent-test
? Maybe it's a problem with my workflow, but I find myself having to temporarily remove them when editing to debug & test my testsThis shouldn't have any effect on existing tests, just make the editing experience a little nicer.
Thanks!
The text was updated successfully, but these errors were encountered: