Context: I need to update some Lazarus code, and I figured I'd write unit tests for it before I start changing anything. However, it's hard to estimate the completeness of tests which were written after the code, so I thought of code coverage as a simple completeness metric.
I have found this repo which seems to do exactly what I need (it adds a coverage tab to FPCUnit), but unfortunately the code in that repository fails to build with Lazarus 2.2.6:
CodeCoverage.SynGutter.pas(98,19) Error: Identifier not found "FoldView"
Are there any hints on how to get Lazarus CodeCoverage Helper working, or any alternatives?
PS. Helping out with my attempt at getting code coverage with debugger breakpoints would also be appreciated.