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

Add finder based on method and class name #83

Open
badetitou opened this issue Apr 28, 2018 · 0 comments
Open

Add finder based on method and class name #83

badetitou opened this issue Apr 28, 2018 · 0 comments

Comments

@badetitou
Copy link
Owner

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)

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

No branches or pull requests

1 participant