https://github.com/ngarbezza/cuis-smalltalk-utilities
A random set of Cuis Smalltalk packages from my own
https://github.com/ngarbezza/cuis-smalltalk-utilities
Last synced: 5 months ago
JSON representation
A random set of Cuis Smalltalk packages from my own
- Host: GitHub
- URL: https://github.com/ngarbezza/cuis-smalltalk-utilities
- Owner: ngarbezza
- License: mit
- Created: 2020-05-10T23:46:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-29T01:30:36.000Z (about 4 years ago)
- Last Synced: 2025-07-02T09:53:05.018Z (about 1 year ago)
- Language: Smalltalk
- Size: 5.22 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cuis-Smalltalk-Utilities
A random set of Cuis Smalltalk packages from my own. Feel free to include it on your projects if you find them useful :-)
**Installation**: all of the files are bundled as packages, just drop the file into your Cuis image and then choose "Install package".
## Flaky Tests Detector
This is a very simple tool that allows you to check if a test has a flaky behavior, that is, failing from time to time.
It's very simple to use this tool. Just right-click on a test method, and select the "Analyze test flakiness" and it'll run your test 100 times (can be changed if called programmatically) and it will display the percentage of failures, and a list of each execution.
Here's a quick demo of this feature:

## Percentage object
A simple class that represents percentages, plus a convenience method on Number that allows you to write things like: `50 percent of: 2000`.
## Collaborations counter
Small tool to count the number of collaborations (message sends) in a method. It displays the results in the Browser's annotation pane.
To enable it, evaluate `Preferences enableAnnotationInfo: #collaborationsCount`.
To disable it, evaluate `Preferences disableAnnotationInfo: #collaborationsCount`.
Here's a quick demo of this tool:

## Examples Browser
A tool that allows you to define examples for any method in the image, and browse them using a button in any Cuis' code browser.
Demo:
