Closed dmitrym0 closed 3 weeks ago
Hi @dmitrym0 ,
You may have already seen the "Troubleshooting" section: https://github.com/undercover-el/undercover.el#troubleshooting
Something to pay attention to is to make sure that the code in your module doesn't run before Undercover is initialized and has started collecting code coverage.
Generally, I suggest approaching this as with most other problems: try to reproduce the problem with a small example, then gradually introduce elements from your real project until you can pinpoint the source of the issue.
Thanks for your advice @CyberShadow. I think this is a case of rubber ducky debugging :)
Anyway, it turns out that changing load
to require
fixed it.
-(load "org-noter-org-roam")
+(require 'org-noter-org-roam)
Not sure what the difference is, but this is the fix.
Hey folks,
Thanks for a wonderful package. I'm having a bit of a problem with undercover reporting zero coverage for one of my modules.
I'm confident that at least some of the module is being executed since I see some
(message
s sprinkled in the console.I dont see any errors, and some of my code is being reported as covered.
Emacs 29.1 on MacOS, Cask and Buttercup.
Any advice on how to proceed with this?