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

ROCÍO ELIZABETH VERA rvera at fi.uba.ar
Fri Jun 19 11:03:07 PDT 2026


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260619/1463fd7e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CodeCoverageBrowserMenues.st
Type: application/vnd.sailingtracker.track
Size: 3505 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260619/1463fd7e/attachment.st>


More information about the Cuis-dev mailing list