I am sorry, but I want to said it: we have tests. Why tests are not for same purpose? (I would say they include it).
As Tudor said:��"they are way too disconnected from the code"And this needs to be solved.
We already have nice feature in Nautilus: it shows "test icon" on covered methods. We could extends this idea to simplify test visibility.��
Proposed solution is much simpler. But how much it is practical? How many code could use it?��For simple cases like String methods is super nice. But could you imaging it for Seaside code? or Morphic?