<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 6, 2015 at 12:51 PM, Wes Turner <span dir="ltr"><<a href="mailto:wes.turner@gmail.com" target="_blank">wes.turner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">self-testable programs are really ideal (e.g POST power-on self test)<br>
relevant recent topical discussion of e.g<br>
CRC and an optional '-t' preemptive CLI parameter: <a href="https://github.com/audreyr/cookiecutter-pypackage/pull/52" target="_blank">https://github.com/audreyr/cookiecutter-pypackage/pull/52</a></p></blockquote></div><br><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I would be interesting to talk about what's worth including in a "self-test" feature.<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Most suites aren't suitable for including as whole. You don't want to include integration (functional) tests for sure :-)<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">There's also the ever-unanswered question of how to deal with test dependencies. Some will think that it's ok to always install them, but then again, after seeing how `mock` depends on `pbr` - and how `pbr` just decides to alter your `setup.py sdist/bdist_*` output without being asked or invoked has made me very wary of this practice. How I have to make sure my python installs have certain versions of `pbr` or no `pbr` at all, every time I want to build a package :-(<br></div><br><br clear="all"><div><div><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>