Skip to content

PyTest testrunner does not support clojure.test style fixtures #1306

@chrisrink10

Description

@chrisrink10

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions