Skip to content

User's possibility to automatically increase limits on file size and tests number #1348

Closed
@alisevych

Description

@alisevych

Description

Usability issue.

As described in the initial feature request:

The same information is supposed to be shown in the IDE log with ability for user to navigate to the settings section in order to increase the generated file size and tests number per a method under test (by default it is supposed to be 50 test methods).

Actual behavior

User is advised to go and add the related setting to the file by themselves:
image

Expected behavior

The related settings are supposed to be customizable on the UI.
User should get the exact place and how to change them.

Environment

IntelliJ IDEA - supported versions.

Potential alternatives

There are ~/.utbot/settings.properties and settings on UI that can be changed/saved per project in the xml-file /.idea/utbot-settings.xml

  1. Now the related settings maxTestsPerMethod and maxTestFileSize are global and can be configured in settings.properties.

  2. Move these settings to project settings - and show on UI

Context

There can be situation when limit of generated tests is exceeded. For instance:

Metadata

Metadata

Labels

comp-uiImprovements of plugin UI appearence and functionalityctg-bugIssue is a bug

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions