Skip to content

Enable utbot-analytics module in utbot-intellij module #725

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

Closed
amandelpie opened this issue Aug 15, 2022 · 0 comments · Fixed by #733
Closed

Enable utbot-analytics module in utbot-intellij module #725

amandelpie opened this issue Aug 15, 2022 · 0 comments · Fixed by #733
Assignees
Labels
ctg-enhancement New feature, improvement or change request

Comments

@amandelpie
Copy link
Collaborator

amandelpie commented Aug 15, 2022

This is a sub-task for the umbrella ticket #703

Description

A few weeks ago the utbot-analytics and all related stuff was removed from the utbot-intellij module.
Now it's time to return it but with a few requirments of @denis-fokin

But usage of utbot - analytics involves some configuration and addition of some fabric implementations from the utbot-analytics during the utbot-intellij initialization before test generation process

Expected behavior

  • utbot-analytics and all sub-modules that will be extracted from it with the different ML modules should be easily added/removed without any imports from utbot-analytics module in the code
  • Only comment/uncomment utbot-analytics in the Gradle file should lead to the addition or removal of the ML Path Selector functionality

Solution

We need to implement kind of DI mechanism (slightly reminds Spring work behind the scene)

  1. utbot-intellij load/instantiate the class by its class name from the special config in resources (probably in utbot-analytics module, if possible) or in the utbot-settings
  2. instance of class described in the utbot-analytics or its extracted modules is created and auto-configure or ML Path Selector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctg-enhancement New feature, improvement or change request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant