[Cuis-dev] [Contribution] Keyboard shortcut to run tests with code coverage

Hernán Wilkinson hernan.wilkinson at 10pines.com
Fri Jun 19 11:30:54 PDT 2026


Hi Rocío!
 That is really useful, but keep in mind that Cuis does not have the
CodeCoverage package loaded by default; CuisUniversity has it (you are
using CuisUniversity at university :-) )
 On the other hand, does not cmd+c conflict with "copy" when used in the
editor? Or is the shortcut only active when in the browser's lists?

Cheers!
Hernan.

On Fri, Jun 19, 2026 at 3:03 PM ROCÍO ELIZABETH VERA via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> Hello everyone,
>
> My name is Rocio Vera and I'm a Computer Engineering student at the
> University of Buenos Aires (UBA). I'm currently taking Software Engineering
> 1, a course where we learn Smalltalk using Cuis.
>
> As part of the course, we were asked to contribute to the Cuis ecosystem,
> and I thought it would be useful to add a **keyboard shortcut to run tests
> with code coverage**. Until now, the CodeCoverage package only offered this
> option from the context menu; my change adds the shortcut `c` (for
> *coverage*) to the System Browser panels, in the same way that `t` already
> exists for "run tests". I also updated the menu labels to reflect the
> shortcut, e.g., "Run Tests with Coverage (c)".
>
> The change is implemented in the `CodeCoverageBrowserMenues` class, by
> populating the shortcut field in the menu specs (`systemCatListMenuSpec`,
> `classListMenuSpec`, `methodCategoriesListMenuSpec`, and
> `messageListMenuSpec`) and maintaining the registration using
> `BrowserWindow registerAll:`.
>
> I've attached the `.st` file with the modifications. I tested it on CUIS
> 7.5 (update #7641) with the CodeCoverage package loaded at its current
> version.
>
> I look forward to your comments and suggestions. Thank you very much for
> your time and help.
>
> Regards,
> Rocio Vera
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>


-- 

*Hernán WilkinsonAgile 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260619/ea26b7f2/attachment.htm>


More information about the Cuis-dev mailing list