Clojurians
#testing
<
2016-02-18
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

raymcdermott12:02:20

@bensu: nice, thanks

bjr22:02:49

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.

bjr22:02:23

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.