Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finder: selectors filters can't be extended #955

Open
ClotildeToullec opened this issue Jan 21, 2025 · 0 comments
Open

Finder: selectors filters can't be extended #955

ClotildeToullec opened this issue Jan 21, 2025 · 0 comments

Comments

@ClotildeToullec
Copy link

When searching for examples in the finder, a list of methods are called on the receiver to compare with the expected result.
This list is built from a green list, and a black list is rejected. See #allSelectorsToTestInMethodFinder.

This issue is: both green list (approvedSelectorsForMethodFinder) and black list (#forbiddenSelectorsForMethodFinder) are hard-coded and can't be extended.

This has been an issue in Moose, where we have custom methods in Collection. These methods have behavior that should not be triggered by the Finder, but we can't add them to the black list without intervening in Pharo code. Linked to moosetechnology/MooseIDE#1298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant