Fork me on GitHub

@bensu: nice, thanks


Does anyone know how to create test fixtures which selectively apply to test vars in a namespace? Ideally something like (use-fixtures :each :functional test-system-fixture) to only run that fixture on tests with :functional true in the test var metadata. This is to avoid creating separate namespaces for separate fixtures.


I know leiningen retains fixtures when it does test filtering by selectors — but i’m actually looking for something like the inverse where all tests are run, but the fixture only applies to a subset. Selectively applying fixtures instead of selectively executing tests which have fixtures.