ciselab / TestGenie

TestGenie - an IntelliJ plugin that natively integrates EvoSuite into the IDE. EvoSuite is an automated test suite generation tool using evolutionary algorithms. Used for research @ SERG, TU Delft.
MIT License
1 stars 0 forks source link

Telemetry path chooser #155

Closed SergeyDatskiv closed 2 years ago

SergeyDatskiv commented 2 years ago

Describe the bug Once the telemetry option is enabled, the user should be able to specify the path where the telemetry should be saved. For convenience, the user is provided with a default path. However, the current implementation of the default path is not consistent and at times produces errors. Especially on arch btw...

To Reproduce Steps to reproduce the behavior:

  1. Go to Jegor.
  2. Ask Jegor to launch "Run Plugin" with telemetry option enabled.
  3. An error will appear saying that something is wrong with telemetry path.
  4. See error

Expected behavior The error should not happen. To fix that, the idea of the default path will be scrapped in favor of file chooser which is empty by default. Prior to closing the settings there will be a check if telemetry is enabled and if the path is not empty, if path is empty inform the user that they need to choose it.

Screenshots

Additional context