Regarding Tests
Closed this issue · 1 comments
As @alphapapa correctly pointed out in my pull request, I have not been adding the tests I have run to the repo. I am currently working on fixing that by tidying up the tests I have run so far (as well as adding new tests) and adding them to the test sub-directory in the volatile branch. Once I am happy with the way a test is set up, I will commit it to main and start working on the next one.
I have little experience with (unit) testing in a way that is useful to others, so criticism is highly appreciated.
UPDATE. I think that settles the "messy" tests relying mostly on visual confirmation. What remains are a few proper unit tests, but I will first have to evaluate what functions really make sense to have a unit test attached. After all, I want to test function not implementation.
A new, hopefully cleaner test is available using ERT to diagnose fontification, see tests/README
🎉