<div dir="ltr">Hi Hernan!<div><br></div><div>I'll go with #2.</div><div><br></div><div>I feel like once a test passes, I want to make sure all related tests pass as well (i.e. the "module" the test belongs to keeps working after my changes).</div><div><br></div><div>There is a subtlety there: what's the "module" of the passed test?</div><div><ul><li>If the test is part of a package, then I would expect the tool to run all tests from that package.</li><li>If the test is not part of a package, I would expect the tool to run all tests in the test's system category root and all of its descendant system categories.<br>For example, if we don't do the package check, when I run a test in my Tools-Finder package I'll end up running all tests in the Tool system category.<br>Those are going to be probably unrelated to the work I was doing in Finder when I ran the test.</li></ul></div><div>This is something I looked up when I built Code Coverage, but never got to implement :/</div><div><br></div><div>Cheers,</div><div>Nico PM </div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Mar 18, 2025 at 8:40 PM Mark Volkmann 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">Option #1 seems good to me.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 18, 2025 at 5:15 PM Hernán Wilkinson via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">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"><div>Hi, this is a survey, please answer :-) </div><div><br></div><div>If you press cmd+y when editing a test method, it saves it (if necessary), runs the tests and if passes, runs all the tests in the system category.</div><div>When the system category hierarchy was introduced, this behavior was not changed but programmers sometimes expect cmd+y to run tests of all the system category "family" (that is its root and all children categories), but sometimes they expect the current behavior.</div><div>I think that the best solution would be to add a new menu option such as "Save & Run Test in Category Family (Y)" so we have all options covered. I think I would add the same option to the system category menu, but I'd like to know what you think, therefore the survey: </div><div><br></div><div>1) Add  "Save & Run Tests in Category Family (Y)" as a menu option to the Smalltalk Editor and add "Run Test sin Category Family (Y)" as a menu option to the System Category Menu.</div><div>2) Change the current behavior of cmd+y and run all tests of the category family and add "Run Test in Category Family (y)" as a menu option to the System Category Menu.</div><div>3) Do nothing, if you want to run all tests of the system category family go to the root category and press cmd+t</div><div>4) Other!</div><div><br></div><div>Which one do you prefer?</div><div><br></div><div>Cheers!</div><div>Hernan</div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:small"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><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></strong></span></div><div style="font-size:12.8px"><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">Phone: +54-011</span></font></span></span></strong></span><font face="tahoma, sans-serif" size="2">-4893-2057</font></div><div style="font-size:12.8px"><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 style="font-size:12.8px"><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><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></strong></span></div><div style="font-size:12.8px"><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>
-- <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><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></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><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><br>Nicolás Papagna</div>