JetBrains-Research / TestSpark

TestSpark - a plugin for generating unit tests. TestSpark natively integrates different AI-based test generation tools and techniques in the IDE. Started by SERG TU Delft. Currently under implementation by JetBrains Research (ICTL) for research purposes.
MIT License
35 stars 9 forks source link

Remove code duplication and move buttons into named variables #244

Closed Vladislav0Art closed 1 month ago

Vladislav0Art commented 1 month ago

Description of changes made

  1. Merge the implementation of startEvoSuiteGeneration and startLLMGeneration into startUnitTestGenerationTool parameterized by Tool.
  2. Move radio buttons of code type selection for test generation into named variables to increase clarity.

Why is merge request needed

The pull request 1) removes function duplication and 2) increases the clarity of the written code.

Other notes

Closes #234 #233