<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 6, 2015 at 11:54 PM, Erik Bray <span dir="ltr"><<a href="mailto:erik.m.bray@gmail.com" target="_blank">erik.m.bray@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2jp" class="a3s" style="overflow:hidden">Skimming back through the rest of the thread I don't see too much<br>
support for 1).  The only argument against it is the need for<br>
specifying dependencies, etc., which really only impacts developers so<br>
long as the tests aren't *installed*, I think.  But there's also the<br>
question of what kinds of tests we're talking about.  I think unit<br>
tests should live in the <packagename>.tests for a library.  Other<br>
kinds of tests I don't have a strong opinion about.<br>
</div></blockquote></div><br><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">​I think there's some confusion here. The pain point with "inside" tests is exactly the dependencies. And by dependencies I mean test dependencies, we're talking about tests here :-)​<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">If you install two packages with "inside" tests, then how do you deal with the version conflict of test dependencies? That's the big elephant in the room everyone is ignoring :)<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">If you have to bend over backwards (to install the test dependencies) in order to run the installed tests then what's the point of installing them at all? It's far more safer to ask the user to just checkout the sources and run the tests from there. Why completely mess up user's site-packages just because you want to have this weird `python -mfoobar.tests` workflow?<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I like the idea, I really do. But it's not for everyone. I strongly feel that only projects that don't have any test dependencies should install the tests, or provide the tests inside the package.  <br></div><br><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><span style="font-family:trebuchet ms,sans-serif"><span style="color:rgb(51,51,51)"><br><font size="2"><span style="color:rgb(51,51,51)">Thanks,</span><br><span style="color:rgb(153,153,153)">-- Ionel</span></font></span><font size="2"><font style="color:rgb(153,153,153)"> Cristian Mărieș, <a href="http://blog.ionelmc.ro" target="_blank">http://blog.ionelmc.ro</a><br></font></font></span></div></div></div></div></div></div></div>
</div></div>