Fork me on GitHub
#cider
<
2020-09-08
>
deadghost14:09:47

So I run cider-test-run-ns-tests in foo.bar and it says No test namespace: foo.bar-test because the test ns wasn't loaded in on startup. What command can I use to load foo.bar-test such that I can create a binding that will run a command in foo.bar that will load foo.bar-test and run all tests in foo.bar-test?

dpsutton14:09:49

can i recommend just getting used to evaling the namespaces you want to use?

deadghost14:09:23

Do you mean: • switching to the test buffer • evaluating the test buffer • switching back to original buffer • run tests I'd like to: • eval test buffer from original buffer • run tests

deadghost20:09:13

I got it working FYI

dpsutton14:09:15

if you're in a buffer just a C-c C-k will eval it

ozzloy20:09:08

maybe this is a cider issue, i'm in cljs repl, and the following happens: cljs.user> (goog.object/get gevents/EventType (clj->js :KEYUP)) WARNING: Use of undeclared Var goog.events/EventType at line 1 <cljs repl> "keyup"

ozzloy20:09:39

it says the var is undeclared, but also gives the value i was expecting

ozzloy20:09:15

also, when i run figwheel, the webpage updates correctly, and displays a warning

ozzloy20:09:08

at the top i have (ns doing-io.core (:require [goog.events :as gevents] ...)

dpsutton21:09:06

doubt its a CIDER issue

ozzloy21:09:21

i've never heard of http://greg.app before, but it makes a lot of sense

ozzloy21:09:45

another thing i'm surprised i don't see more of: AI support for code writing