Fork me on GitHub
#calva
<
2019-01-27
>
pez12:01:43

New VSIX for you brave and kind testers. What is fixed is that Figwheel is more optional now. It is mostly a messaging thing in that “Calva says” output pane, but it is also a bit of a more careful look at what actually happens when the repl sessions are created.

mateus.pimentel.w15:01:58

Hey @pez, i store my tests on a different namespace, do you know how to run tests for them?

mateus.pimentel.w15:01:05

i was thinking, it would be something like,

mateus.pimentel.w15:01:18

appending a -test to the namespace and running it

pez15:01:55

@mateus.pimentel.w , currently tests work very poorly for everyone, I think, but we will fix that. As for tests in a different namespace Calva indeed looks for them in whatever-ns-test. And, I am not sure, but I think I also made this configurable via settings.

mateus.pimentel.w15:01:38

I think i will just put them in the same namespace, but i will try seeing if i did something wrong tho

pez15:01:30

I think it just might be Calva that is broken, unfortunately.

pez15:01:21

I use the terminal repl and do (clojure.test/run-tests) in waiting for myself to fix Calva.

mateus.pimentel.w15:01:45

When i get all the stuff running in my work project i intend to start contributing to calva

mateus.pimentel.w15:01:08

just stabilizing myself on the clojurescript ecosystem first hehe

mateus.pimentel.w15:01:14

The message i am seeing is “Evaluating file: … ” when i request “run tests for current namespace”

mateus.pimentel.w15:01:05

it works fine if execute it on the file where the tests are defined tho

mateus.pimentel.w15:01:16

i just need to make it to do the same thing when i am on the original namespace

pez17:01:07

If you have the time, @mateus.pimentel.w, please test that the working case you have there still works with the vsix package i posted above.