-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename doctest_collect #128
Comments
I tried to think about this during some recent changes but I didn't really come up with anything better. How about you? |
Warning: Much bike-shedding follows. Perhaps un-confusing the terminology might have some value, though. Consider the following terminology:
(Currently, we do not have a name for what I call "target", but we use the term "target" instead of "unit" in the source code.) We could then rename:
|
This sounds good overall.
|
|
From user PoV, targets and tests are tangible and understandable. Don't think user needs to care about 'units'. Since 'unit' is often a target, what if we try to use 'target'? i.e., In our private code we might use "target" in a technical implementation sense of "thing with one docstring and no subtargets". Or we can call that 'unit', as long as user doesn't see it ;-) |
Let me mull this over some more. (Definitely not urgent for the next release.) |
We should perhaps rename
doctest_collect
to something else since the name still reflects my original implementation which collected tests but did not run them (#bikeshedding 😄).The text was updated successfully, but these errors were encountered: