Closed
Description
Description
There are 3 dependencies required for JS test generation.
Each time action is called on a JS-file these dependencies presence is checked.
It takes for 3-5 seconds - and IDE is irresponsible during that time.
Need to consider a good solution:
- either do that faster
- or check dependencies during dialog opening
- or check it when generation is started
- or suggest something else..
To Reproduce
- Run the 'utbot' project in IntelliJ Idea 2022.2
- Install one of the latest plugin builds from main, used this one
- Open File -> Settings -> Tools -> UnitTestBot
- Check
Experimental languages support
- Open
utbot-js/samples/commonLoops.js
, press Alt+Shit+U
Expected behavior
Dialog window is supposed to be opened in 0.5-1 sec maximum.
Actual behavior
Dialog window is opened in 3-5 seconds, and IDE is irresponsible during that time.
Visual proofs (screenshots, logs, images)
Environment
IntelliJ IDEA Ultimate / WebStorm 2022.2
Additional context
Metadata
Metadata
Labels
Type
Projects
Status
Done