Fork me on GitHub
#calva
<
2024-07-08
>
pez13:07:28

Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.463https://github.com/BetterThanTomorrow/calva/issues/2594 So, before this version Calva had a weird behaviour of loading the test namespace as it was saved on disk into the repl before running namespace tests. So you could evaluate some change (without saving the file) and then run namespace tests, and it would result in some saved code being loaded... We actually have ticked this change off as done two years ago, but we had missed an important case.

pez13:07:40

If anyone, for whatever reason, will miss the old behaviour, you can use runCommands to create a keybinding that first loads the test namespace and then runs the tests. The two commands are: 1. calva.loadTestFileForCurrentNamespace 2. calva.runNamespaceTests

Ludger Solbach14:07:24

If I want to test the file on disk, I run the tests from the terminal. So, to speak for myself, I don't miss it.

🙏 1