[Cuis-dev] How would you like cmd+y to behave?

Gerald Klix cuis.01 at klix.ch
Wed Mar 19 09:13:19 PDT 2025


On 3/19/25 2:49 PM, Juan Vuletich via Cuis-dev wrote:
> Hi Hernán,
>
> On 3/18/2025 7:14 PM, Hernán Wilkinson via Cuis-dev wrote:
>> Hi, this is a survey, please answer :-)
>>
>> 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.
>> 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.
>> 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:
>>
>> 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.
>> 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.
>> 3) Do nothing, if you want to run all tests of the system category 
>> family go to the root category and press cmd+t
>> 4) Other!
>>
>> Which one do you prefer?
>>
>> Cheers!
>> Hernan
>> -- 
>> *Hernán Wilkinson
>> Agile Software Development, Teaching & Coaching*
>> *Phone: +54-011*-4893-2057
>> *Twitter: @HernanWilkinson*
>> *site: http://www.10Pines.com <http://www.10pines.com/>*
>> Address: Alem 896, Floor 6, Buenos Aires, Argentina
>
> I prefer 1). I don't think there's need for another menu item. I'd 
> call it "Category Tree", not "Category Family".
>
> Additionally, if someone prefers the current behavior, we could add a 
> preference.
>
> Cheers,
>
>
I don't care that much. I normally run just the test I just changed.
To run all my test cases I use the TestRunner.


HTH,

Gerald


More information about the Cuis-dev mailing list