<div dir="ltr"><div dir="ltr">The diff in this notification email is wrong. I just added these:</div><div dir="ltr"><div><br></div><div>Item was added:<br>+ ----- Method: Lexicon>>testDebugTest (in category '*SUnitTools-message list functions') -----<br>+ testDebugTest<br>+       | case selector cls |<br>+       cls := self targetClass ifNil: [^ self].<br>+       selector := self selectedMessageName ifNil: [^ self].<br>+       case := cls selector: selector.<br>+<br>+       case debugAsFailure.!<br><br>Item was added:<br>+ ----- Method: Lexicon>>testRunTest (in category '*SUnitTools-message list functions') -----<br>+ testRunTest<br>+       | suite |<br>+       suite := self targetClass selector: self selectedMessageName.<br>+       self testRunSuite: suite.<br>+       self changed: #messageList.!<br><br>Item was added:<br>+ ----- Method: Lexicon>>testsMessageListMenu: (in category '*SUnitTools-menus') -----<br>+ testsMessageListMenu: aMenu<br>+       (self targetClass isTestClass<br>+       and: [self targetClass isAbstract not<br>+       and: [self targetClass allTestSelectors includes: self selectedMessageName]])<br>+               ifFalse: [^ aMenu].<br>+       ^ aMenu addList: #(<br>+               -<br>+               ('run test'             testRunTest)<br>+               ('debug test'   testDebugTest));<br>+               yourself!<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Sa., 16. Juli 2022 um 18:41 Uhr schrieb <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">A new version of SUnitTools was added to project The Inbox:<br>
<a href="http://source.squeak.org/inbox/SUnitTools-jr.9.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/inbox/SUnitTools-jr.9.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: SUnitTools-jr.9<br>
Author: jr<br>
Time: 16 July 2022, 6:41:00.785653 pm<br>
UUID: 81d39fe4-b439-6a46-a0e9-0c922caf0dba<br>
Ancestors: SUnitTools-ct.8<br>
<br>
Override run test menu items in Lexicon to run tests on the targetClass instead of the selectedClass<br>
<br>
The selectedClass is the class that defines the selected method. The targetClass is the browsed class in the Lexicon. This makes a difference for test methods if the selected method is inherited from an abstract TestCase subclass. In that case, self selectedClass isAbstract answers true and the test items were previously not shown. If the browsed class is not abstract as well, it can run the selected test method just fine.<br>
<br>
This introduces code duplication with the CodeHolder methods with the same selectors.<br>
<br>
=============== Diff against SUnitTools-ct.8 ===============<br>[...]</blockquote></div></div>