[Grok-dev] a modest proposal: automatically detected doctests
Brandon Craig Rhodes
brandon at rhodesmill.org
Thu Dec 20 12:08:28 EST 2007
Since Grok is not shy about recursively descending my application in
order to discover its packages, modules, and classes, I have come to
believe that it should also not be shy about discovering my doctests.
That is, running "bin/test" in my Grok instance should automatically,
without even asking, instantiate each of my source code files inside
of a DocFileSuite, and run them. I shouldn't have to go inside of the
"test/" directory and ask for each of my source code files to be
Before I explore how to implement this, does anyone else have opinions
about my idea?
Brandon Craig Rhodes brandon at rhodesmill.org http://rhodesmill.org/brandon
More information about the Grok-dev