<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged stest</title>
<link>https://ask.clojure.org/index.php/tag/stest</link>
<description></description>
<item>
<title>Add support for checking instrumented syms in clojure.spec.test.alpha</title>
<link>https://ask.clojure.org/index.php/11816/support-checking-instrumented-syms-clojure-spec-test-alpha</link>
<description>&lt;p&gt;The &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.github.io/spec.alpha/clojure.spec.test.alpha-api.html&quot;&gt;API&lt;/a&gt; for &lt;code&gt;clojure.spec.test.alpha&lt;/code&gt; 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 &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/clojure/spec.alpha/blob/master/src/main/clojure/clojure/spec/test/alpha.clj#L161&quot;&gt;internally&lt;/a&gt; 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 &lt;code&gt;stest/unstrument&lt;/code&gt;. &lt;/p&gt;
&lt;p&gt;It would be great if there was a function like &lt;code&gt;instrumented-syms&lt;/code&gt; which could be called to identify what has already been instrumented. :) &lt;/p&gt;
</description>
<category>Spec</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/11816/support-checking-instrumented-syms-clojure-spec-test-alpha</guid>
<pubDate>Tue, 26 Apr 2022 15:48:48 +0000</pubDate>
</item>
</channel>
</rss>