Welcome! Please see the About page for a little more info on how this works.

+2 votes
in Spec by
retagged by

The API for clojure.spec.test.alpha doesn't currently support finding the list of instrumented syms. This is useful, for example, when you want to restore the previous state of instrumentation. The list of currently instrumented syms is stored internally in an atom, so it might be reasonable that these syms could be exposed to the caller. Currently, the only way AFAIK to poll this information is as a side-effect of calling stest/unstrument.

It would be great if there was a function like instrumented-syms which could be called to identify what has already been instrumented. :)

1 Answer

+1 vote
selected by