<div dir="ltr">I agree with the sentiment (code quality has been slipping recently) but I really don't think fine-grained unit tests are going to fix it.  A lot of the problems I've been encountering lately have been along the lines of 'did anyone even try to use this?'  I do think more tests are in order but more along the lines of integration/system tests which we have surprisingly few of.<div><br></div><div>For example, to exercise Morphic don't worry about testing every single feature of every single Morph related class, just have some unit tests that create and open some non-trivial Morphs (things like function graph, bouncing atoms and some of Ken's code would probably be good candidates for this like his solitaire game) and you'll likely catch a large fraction of  issues most of us care about.  I'd also suggest better testing of refactoring as that has also been a non-trivial source of issues.  So essentially have tests that do something more substantial, and a lot of problems will fall out of a much smaller number of those sorts of tests.  That's what I do and it works pretty well with minimal effort.<div><br></div><div>Thanks,</div><div>Phil</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 20, 2020 at 10:24 AM Hernan Wilkinson via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all!<div> I'd like to make a proposal.</div><div> We are making lots of changes to Cuis, which is great, but at the same time sometimes it generates errors and instability. </div><div> My proposal has to do with keeping the quality and stability that Cuis has and it is that everytime we make a change or improvement to Cuis, to attach tests that prove the change is correct. </div><div> Having tests is not only for today but for the future of Cuis. It is the only way we have to keep its good quality and stability.</div><div> </div><div> We all know that it is not possible to test everything, for example the changes that Juan just did to Morph are very difficult and time consuming to test with automatic tests, but there are other changes, mainly to core classes or tools, that are possible to test and I think we should try our best to do it.</div><div><br></div><div> What do you think? do we give it a try?</div><div><br></div><div>Cheers!</div><div>Hernan.</div><div><br></div><div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span><span style="font-size:small"><font size="2"><span style="font-weight:normal"><span style="font-weight:bold">Hernán Wilkinson</span><br>Agile Software Development, Teaching & Coaching</span></font></span></span></span></strong></span></div><div><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span><span style="font-size:small"><font size="2"><span style="font-weight:normal">Phone: +54-011</span></font></span></span></span></strong></span><font face="tahoma, sans-serif" size="2">-4893-2057</font></div><div><strong style="font-family:tahoma,sans-serif;font-size:xx-small"><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">Twitter: @HernanWilkinson</span></font></span></span></strong></div><div><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span><span style="font-size:small"><font size="2"><span style="font-weight:normal">site: <a href="http://www.10pines.com/" style="color:rgb(17,65,112)" target="_blank">http://www.10Pines.com</a></span></font></span></span></span></strong></span></div><div><font face="tahoma, sans-serif"><span style="border-collapse:collapse">Address: Alem 896</span></font>, Floor 6, Buenos Aires, Argentina</div></div></div></div></div></div></div></div></div></div></div></div></div></div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div>