Documentation of `retest` doesn't seem correct?
The documentation of the retest command doesn't seem correct.
Return exception cause and stack frame info for an erring test via the stacktrace middleware. The error to be retrieved is referenced by namespace, var name, and assertion index within the var.
The Cider docs say this:
Re-run test failures/errors.
The retest will re-run any tests that failed in the previous test run, right?
Right, retest does exactly the following:
https://github.com/clojure-emacs/cider-nrepl/blob/a898e40b5dca44e34c0df80a8aeb48b05143f543/src/cider/nrepl/middleware/test.clj#L352-L368
The most relevant bit being (test-nss ,,,.
Which contradicts https://docs.cider.mx/cider-nrepl/nrepl-api/ops.html#retest and indeed seems worth fixing.
Seems we made a classic copy/paste mistake. :-)
Fixed recently