what library I need to be able to require nrepl.core-test like mentioned in the https://nrepl.org/nrepl/1.3/building_middleware.html#testing?
nrepl/nrepl on my deps.edn doesn't seem to be enough
no doubt you saw, but it looks like this is just a namespace in the nrepl test directory: https://github.com/nrepl/nrepl/blob/e7e0e23638c54d043c316eead3756b9af258bf17/test/clojure/nrepl/core_test.clj
yes, I believe the docs are outdated and one one test using that ns I suppose?
or it was some lein magic as I found no nrepl middleware lib examples using deps.edn
actually I found https://github.com/pink-gorilla/nrepl-middleware/blob/master/deps.edn with gpt's help
> yes, I believe the docs are outdated and one one test using that ns I suppose? I'm not sure I follow. It's just a test resources with a bit of helpers in it that are still being used in the middleware tests.
I suppose that it is a mistake in the docs to assume that this namespace will be present for a third-party middleware in the same way as it's present in nrepl project itself. I suggest you just copy the necessary functions from that namespace into your project.
Ah, yeah - it's just a test resource in nREPL.
I think my point there was to illustrate some approach to testing middleware.