Skip to content
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

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

Closed
alisevych opened this issue Nov 10, 2022 · 0 comments · Fixed by #1510
Closed

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

alisevych opened this issue Nov 10, 2022 · 0 comments · Fixed by #1510
Assignees
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-bug Issue is a bug

Comments

@alisevych
Copy link
Member

alisevych commented Nov 10, 2022

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:

@alisevych alisevych added the ctg-bug Issue is a bug label Nov 10, 2022
@korifey korifey moved this to Todo in UTBot Java Nov 10, 2022
@alisevych alisevych added the comp-ui Improvements of plugin UI appearence and functionality label Nov 10, 2022
@Vassiliy-Kudryashov Vassiliy-Kudryashov moved this from Todo to In Progress in UTBot Java Dec 12, 2022
Vassiliy-Kudryashov added a commit that referenced this issue Dec 13, 2022
#1510)

User's possibility to automatically increase limits on file size and tests number #1348
Repository owner moved this from In Progress to Done in UTBot Java Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-bug Issue is a bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants