I was under the impression that using set-ns-context! with around would call it just once for the entire ns, but it seems to call it for each defdescribe -- is that intentional? How do you get a once-per-ns fixture invoked?
oh hmmm
okay, figured it out
Is it a bug?
yes
https://github.com/NoahTheDuke/lazytest/commit/315a242587e33690e7f2fe67137bfbae40261bdc
got distracted while updating the expectations port to message
Maybe a 1.4.1 release with that fix? 🙂
sure thing
also updates Expectations to have everything except the defexpect and expecting and other clojure.test functions
i'll be online all day if that isn't a fix enough
Nice! Thank you. Clearing up after an Elastic Search cluster failure this morning, then I'll get back to the LazyTest stuff I'm working on (which I abandoned halfway last night due to this issue).
Confirmed 1.4.1 fixes the :once fixture semantics -- thank you!
In trying to migrate a bunch of tests from Expectations to LazyTest, I ran across a bug in Expectations, so I'll have to push this to a branch at work, while I get on with my actual work, and then I'll return to it after lunch and let you know if I ran into any other issues migrating stuff (I'm relying on the lazytest.extensions.expectations ns for this).