<br><br><div class="gmail_quote">On Fri, Nov 21, 2008 at 6:21 AM, Nicolas Chauvat <span dir="ltr"><<a href="mailto:nicolas.chauvat@logilab.fr">nicolas.chauvat@logilab.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On Fri, Nov 21, 2008 at 09:40:54AM +1100, Ben Finney wrote:<br>
</div><div class="Ih2E3d">> I recommend "Your code isn't done until I have a complete automated<br>
> test suite from you that I can run to see all requirements<br>
> demonstrated working."<br>
<br>
</div>At Logilab, we try to go as far as "your code isn't done until I have<br>
a debian package that installs cleanly on the staging server that's<br>
mirrored from the production server". Then we run the database migration<br>
script on the staging server and run the test suite. Usually it takes<br>
a couple tries to get right and install on the production server with<br>
confidence.<br>
<br>
Deployment is actual work. Mistaking deployment with file-copying has<br>
a cost called down-time. The only solution I know is to test the deployment :)</blockquote><div><br></div><div>I agree, scp is a poor choice for deployment, and not testing is a poor choice for deployment. It seems like I haven't read much of anything about this aspect of testing, although Grig might touched on some of these topics with his configuration management blog post.</div>
<div>This might be the time to figure out how this process could be integrated into something like buildout, paver, or virtualenv bootstrap, and with testing framework. Of course it would be awesome if that framework tested not just python code but most language code. That would be an interesting growth area for python, being the king of testing no matter what the language. <br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<font color="#888888"><br>
--<br>
Nicolas Chauvat<br>
<br>
<a href="http://logilab.fr" target="_blank">logilab.fr</a> - services en informatique scientifique et gestion de connaissances<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
testing-in-python mailing list<br>
<a href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/testing-in-python" target="_blank">http://lists.idyll.org/listinfo/testing-in-python</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Noah Gift<br><a href="http://noahgift.com">http://noahgift.com</a><br>