Configurable test-defining symbol – changing deftest to something else
From the docs:
If you try to navigate to a test from source which doesn’t have a test defined (or at least, one Cursive can find using the above mapping) then Cursive will allow you to create a test. If you’re trying to navigate from within a var (e.g. a defn), it will create a test namespace if required or use an existing one, and then create a deftest within that. If you’re not within a var but are somewhere in the top-level of your file, it will just create a test namespace with no deftest.
It'd be nice if the symbol for defining a test was configurable. I'm using Lazytest, where the test-defining symbol is defdescribe. Or maybe l/defdescribe if Lazytest is required with [lazytest.core :as l]. I've changed the file templates for creating test ns-es, but with the deftest thing I still have to change it before writing the test.