<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, 9 May 2017, 11:50 Gregory Salvan, &lt;<a href="mailto:apieum@gmail.com" target="_blank">apieum@gmail.com</a>&gt; wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It&#39;s to generic to have complex examples, but you really can test everything without writing data in files, and it&#39;s not really relevant to test if data are really written as it&#39;s the same as testing if there&#39;s no errors in python &quot;open&quot; implementation. I think we can trust python developpers for that ;)</div></blockquote></div><div><br></div><div>No, it&#39;s not just testing that open() works correctly, it&#39;s also testing that it&#39;s being called correctly in a real* live system. You seem to be advocating against functional tests as a concept?</div><div><br></div><div>*certainly more real than a system involving mocking open() in a unit test.</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr">--<br>
Matt Wheeler<br>
<a href="http://funkyh.at">http://funkyh.at</a></p>
</div></div>