cursive
cursive copied to clipboard
Run Tests in Current NS in REPL: Run from test namespace if in source file
I am opening an issue based on @cursive-ide response in the Mailing List: https://groups.google.com/g/cursive/c/IpNX2W0DJrk
Currently if I have a project setup as follows:
src\project\core.clj with a namespace of project.core
and
test\project\core_test.clj with a namespace of project.core-test
and I try to run the command Run Tests in Current NS in REPL from the file src\project\core.clj, it runs tests from the namespace project.core.
What would be ideal, and what is found in CIDER is if it would locate the tests in the project.core-test namespace and would execute those (or based on whatever they have mapped in the Cursive Preferences inside IntelliJ). This would allow a user to quickly validate changes without having to leave the source file they are editing to do so, maintaining a better flow.