When editing tests, I often find myself wanting to validate things by evaluating partial expressions in Sly, for example:
(let ((v (vector 1 2 3)))
(= 3 (length v)))
But with 5am, if I have such a thing in a test, it will be like this:
(let ((v (vector 1 2 3)))
(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!
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
isetc, 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!