<html><head></head><body>This would be a perfect use case for the FNF dev lab. <br>
<br>
I'm putting the final touches on it this weekend. <br>
<br>
We have several live nodes, server capacity, Jenkins etc.<br>
<br>
Let me know if folks would be interested in this.<br>
<br><br><div class="gmail_quote">nemesis <nemesis@ninux.org> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"> Very good!<br /><br />Do you think you will be able to dedicate some time with me (and <br />hopefully somebody else) in the next months to setup a controlled <br />standard setup on which to run unit tests?<br /><br />I explain:<br /><br />we can set up a test database with immaginary nodes, devices and ip <br />addresses (we can also use a subset of the ninux ones), then setup the <br />application to use a fake OLSR topology file, and test for each case we <br />need.<br /><br />This way whenever we encounter a new case we can develop on the test <br />environment, moreover, we'll be able to change/refactor the code without <br />the fear of breaking something and ensuring that in the end things will <br />(mostly) work, because unit tests pass.<br /><br />I'll cite another pratical example of how unit tests come handy. <br />Whenever a new django version comes out, or any critical update for any <br />dependency is released, I try to install it in my 
 dev
environment for <br />nodeshot2 and then I run all the tests. This way I'm able to individuate <br />and fix any issue really easily and quickly.<br /><br />It's a real fucking WIN. The time spent in the beginning is surely <br />worth it and will get repaid on the long run.<br /><br />Django has a Test Suite that inherits from Python standard UnitTest <br />Framework (<a href="http://docs.python.org/2/library/unittest.html">http://docs.python.org/2/library/unittest.html</a>) so everything <br />learnt for django/nodeshot2 will come handy to anyone who is serious <br />about python development.<br /><br />Federico<br /><br /><br /><br />On Sat, 16 Nov 2013 15:02:25 +0100, Clauz <clauz@ninux.org> wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Hello!<br />On Thursday night I pushed a patch to draw links including devices <br />that<br />don't speak OLSR, usually connected to OLSR-capable no
 des
through<br />bridged interfaces.<br /><br />We have a few nodes with this setup in the Ninux Rome network:<br /><a href="http://map.ninux.org/select/Halnet">http://map.ninux.org/select/Halnet</a><br /><a href="http://map.ninux.org/select/Namex">http://map.ninux.org/select/Namex</a><br /><br />The idea is to cycle through all IP addresses and to check if these<br />belong to active HNA networks announced by OLSR.<br /><br />commit:<br /><br /><a href="https://github.com/ninuxorg/nodeshot/commit/36906a832bed3dd7ad2d5bd7949017ee61fe0301">https://github.com/ninuxorg/nodeshot/commit/36906a832bed3dd7ad2d5bd7949017ee61fe0301</a><br /><br />cheers,<br />Clauz<br /></blockquote><hr /><br />Nodeshot mailing list<br />Nodeshot@ml.ninux.org<br /><a href="http://ml.ninux.org/mailman/listinfo/nodeshot">http://ml.ninux.org/mailman/listinfo/nodeshot</a><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>