[TIP] RFC: Adding a __loader__ attribute to tests.

Olemis Lang olemis at gmail.com
Sun Nov 16 16:09:00 PST 2014


On 11/16/14, Robert Collins <robertc at robertcollins.net> wrote:
> I'm pondering the idea of tracking what created tests - similar to the
> new __spec__ in modules.
>
> Motivation - to be able to link back to the origin of a test (which
> can be complex with things like doctests and test multipliers.
>
> First impressions from folk?
>

fwiw , imho : +1

I'm assuming that this attribute will be added to each instance of
TestCase , am I right ?

-- 
Regards,

Olemis - @olemislc

Apache(tm) Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:



More information about the testing-in-python mailing list