You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to keep Cider REPL process alive while switching from a project to a library it uses to make some changes there, but face some problems running library file's tests (written in same file as code).
I find that cider-test-run-loaded-tests loses track of what tests are loaded for library file after I switch REPL namespace from project ns to a library ns with cider-repl-set-ns and load the library file including it's deftests with cider-load-buffer.
After that running cider-test-run-loaded-tests gives "No assertions (or no tests) were run. Did you forget to use ‘is’ in your tests?", while I can still run specific deftest's in the library file with cider-test-run-test or use (run-tests *ns*).
Everything works as expected after restarting Cider from the library ns and loading buffer again.
The text was updated successfully, but these errors were encountered:
I'm trying to keep Cider REPL process alive while switching from a project to a library it uses to make some changes there, but face some problems running library file's tests (written in same file as code).
I find that
cider-test-run-loaded-tests
loses track of what tests are loaded for library file after I switch REPL namespace from project ns to a library ns withcider-repl-set-ns
and load the library file including it's deftests withcider-load-buffer
.After that running
cider-test-run-loaded-tests
gives "No assertions (or no tests) were run. Did you forget to use ‘is’ in your tests?", while I can still run specific deftest's in the library file withcider-test-run-test
or use(run-tests *ns*)
.Everything works as expected after restarting Cider from the library ns and loading buffer again.
The text was updated successfully, but these errors were encountered: