Skip to content

Add finder based on method and class name #83

@badetitou

Description

@badetitou

I've seen somewhere a finder based on method name (and yes, I've lost the reference...)

I don't know how they did, but i think we can do something similar.
It could be with "simple", "complex", "IA"
"simple" -> If a method has my name with the word "test" at the end. It's one of my tests.
"complex" -> decomposition of the word of all methods (or some but how to select ? from filter ;-) ? ). and detect words that are linked? (I know someone at INRIA worked on that a bit (maybe Brice ? )).
"IA", why doing something static, why not giving to an IA information like package, class, method, and the name of those decomposed by word. And ask to the "IA" to learn how to find the relevant test. If it works, we can then think about "how to export this knowledge" and so have an IA inside Pharo that selects tests.
(a dream could be, if the IA works all (but I have some doubt, it's just an experiment), to create different IA for different languages, and then, thanks to moose, offer a platform of test selection for different languages)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions