[Issue 16990] New: Ensure that every Phobos function has a unittest

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Dec 19 19:18:25 PST 2016


https://issues.dlang.org/show_bug.cgi?id=16990

          Issue ID: 16990
           Summary: Ensure that every Phobos function has a unittest
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: greeenify at gmail.com

(from the H2 2016 agenda):

> Make sure every function in Phobos has an example

I have started a small script that allows to check for non-public examples:

https://github.com/wilzbach/style-checkers/blob/master/has_public_example.d

Probably the best way to go here is an exclude list as well.
Maybe we should start placing such scripts into Phobos directly?

--


More information about the Digitalmars-d-bugs mailing list