clojure.test style fixtures accept a single argument, which can be called to run the tests. Setup code can be executed before calling that function and teardown code afterwards.
Basilisp's fixtures are based on PyTest and therefore use yield for the same purpose. However, since it is not possible to force a function to yield from another function, we cannot emulate the clojure.test style fixtures easily with the existing testrunner.
clojure.teststyle fixtures accept a single argument, which can be called to run the tests. Setup code can be executed before calling that function and teardown code afterwards.Basilisp's fixtures are based on PyTest and therefore use
yieldfor the same purpose. However, since it is not possible to force a function toyieldfrom another function, we cannot emulate theclojure.teststyle fixtures easily with the existing testrunner.