-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve REPL test development #125
Comments
Hey @aldosolorzano, Kaocha-doc: https://github.com/lambdaisland/kaocha/blob/main/doc/03_configuration.md |
Yeah but I think the use case mentioned here is to have the test path in the usual repl mode as well which wouldn't use the |
I am starting my repl with |
How would you do that? @lispyclouds I tried what @TimoKramer did and it's not working for me, I'm doing it inside the I work with emacs+cider using
But we have the duplicated extra-deps. |
@aldosolorzano Added a new task It should start an nREPL in a port with all the right paths and deps. Try that out, lemme know if that's any improvement! |
This seems to be addressed, do reopen otherwise! |
One of the great things about clojure is the REPL development, not only for code changes but to also run tests. Even tho bob tests are tricky, I believe it's possible to improve them. In my quest to run tests inside my REPL editor I found some problems, described below:
Test path is not included
If you fire up the repl and got to the ns
runner.pipeline-test
and try to load the ns, we get this error.Digging a little bit I found out that we are not inlcuding the "test" folder in
deps.edn
{:paths ["src" "resources"] ...}
and that makes clojure not been able place the root path correctly.Extra deps used only for testing are not included too
Similar to the problem above, the extra dependencies are not included therefore the tests break because they depend on those.
The text was updated successfully, but these errors were encountered: