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

Chris Rose offline at offby1.net
Mon Dec 1 20:02:05 PST 2014


How would this work outside of unittest? Is this going to be a facility
provided just by the test runner shipped with unittest, or a broader test
capability?

On Sun, Nov 16, 2014 at 4:09 PM, Olemis Lang <olemis at gmail.com> wrote:

> 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:
>
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python
>



-- 
Chris R.
======
Not to be taken literally, internally, or seriously.
Twitter: http://twitter.com/offby1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20141201/88d2fae8/attachment.htm>


More information about the testing-in-python mailing list