Repository navigation
Replies: 1 comment
|
That's a tough one. I thought about adding end markers to the tag importer. But that would be a big hustle to maintain. If we don't have those, however, the tag importer would not be sufficient to get coverage stats. In that case we would need importers that actually understand the syntax of the programming language that the tag sits in. Potentially even understand the AST. And, real coverage (in tests) is a dynamic check, so we would bascially have to create our own instrumentation to get that. So, theoretically possible. But realistically anything beyond introducing and using end markers and counting lines of code is beyond the scope of OFT. It's a fun thought experiment, but I would focus on other features with higher impact instead (e.g., the new JSON exchange format). |
Uh oh!
There was an error while loading. Please reload this page.
With test coverage one can verify that every line (or %) of code is covered by tests.
What if a similar idea could be applied to requirements? Code should not be left without a requirement - no undocumented feature.
Would that be useful? (what the community thinks?)
But it's very hard to define what is covered and not, and programmers constantly write utility methods
All reactions