Hi,<div><br></div><div>I am trying to test as much as I can in a small project of mine. However, the project has some network usage: pushes files from one spot to another with Mercurial via SSH.</div><div><br></div><div>For now, I am creating a testing environment where I have some SSH keys enabled and I am able to test this specific functionality.</div>
<div><br></div><div>However, I also have specific tests for all the methods/functions involved. I had a user complain about the network tests breaking (which is expected if he doesn&#39;t have a proper setup) but I find it very</div>
<div>useful to have not only tests for methods/functions but also for the final output: did the file actually made it?</div><div><br></div><div>Is this approach OK? </div><div><br></div><div>I have had situations where a test for a specific method didn&#39;t picked up an error but the &#39;test_final_ouput.py&#39; did (which made me correct the tests).</div>
<div><br></div><div>Maybe I should not include them when distributing my project? Or would documentation explaining how to set everything up so tests can run correctly would be enough?</div><div><br></div><div>Thanks!<br clear="all">
<br>-- <br>Alfredo Deza<br><br>
</div>