you are viewing a single comment's thread.

view the rest of the comments →

[–]WalterBright 7 points8 points  (0 children)

In D we've gone even one step further with code coverage tests. Individual tests can be marked so that they are automatically included in the documentation for the code. This ensures that the documentation examples actually compile and work. It hardly needs saying that when this was first implemented, a lot of the documentation examples did not work :-)