Skip to content

Settings revision, 2nd iteration #977

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
10 tasks done
tyuldashev opened this issue Sep 20, 2022 · 0 comments · Fixed by #1088
Closed
10 tasks done

Settings revision, 2nd iteration #977

tyuldashev opened this issue Sep 20, 2022 · 0 comments · Fixed by #1088
Assignees
Labels
comp-ui Improvements of plugin UI appearence and functionality

Comments

@tyuldashev
Copy link
Collaborator

tyuldashev commented Sep 20, 2022

Based on result of testing #753 issue:

UTBot settings page:

  • Rename Test with exceptions to Tests with exceptions, make test plural, otherwise it's not aligned with 'Fail/Pass'
  • Please edit the setting label and the tooltip as follows:
    Label:
    Hanging test timeout (milliseconds) -> Hanging test timeout (milliseconds per method)
    Tooltip:
    OLD: Test generation may hang due to infinite loops or other code conditions. Set timeout to stop waiting for hanging process.
    ->
    NEW: Set this timeout to define which test is "hanging". Increase it to test the time-consuming method or decrease if the execution speed is critical for you.

UTBot generation dialog:

  • Please add the tooltip for the 'Test generation timeout (seconds per class)' setting:
    Tooltip:
    Set the timeout for all test generation processes per class to complete.
  • Apply alphabetical case insensitive sorting to list of methods
  • Test generation timeout input field should accept only numbers and save its value between invocations
  • Rename values in Testing framework: JUnit5 -> JUnit 5, JUnit4 -> JUnit 4
  • List of values for Testing framework field should persists its width. Currently it's sometimes changes depending on value of Parametrized tests. See screen recoding below.
Screen recording

idea64_8UlUodJxcE

  • Please make sure that 'Mock strategy" setting with options/tooltip are renamed as follows:
    Label:
    Mock strategy: -> Mocking strategy:
    Options:
    Do not mock
    Mock package environment -> Mock everything outside the package
    Mock class environment -> Mock everything outside the class
    Tooltip:
    OLD: Mock everything around the target class or the whole package except the system classes. Otherwise mock nothing.
    ->
    NEW: Mock everything around the target class or the whole package except the system classes. Otherwise mock nothing. Mockito will be installed, if you don't have one.
  • Please rename 'Parametrized tests' to 'Parameterized tests' for consistency with the JUnit terminology.
  • Please rename 'Test source root:' to 'Test sources root:' for consistency with IntelliJ IDEA interface terminology.
@tyuldashev tyuldashev added the comp-ui Improvements of plugin UI appearence and functionality label Sep 20, 2022
@tyuldashev tyuldashev moved this to Todo in UTBot Java Sep 20, 2022
@Vassiliy-Kudryashov Vassiliy-Kudryashov moved this from Todo to In Progress in UTBot Java Oct 3, 2022
@Vassiliy-Kudryashov Vassiliy-Kudryashov linked a pull request Oct 4, 2022 that will close this issue
3 tasks
Repository owner moved this from In Progress to Done in UTBot Java Oct 5, 2022
AbdullinAM pushed a commit to AbdullinAM/UTBotJava that referenced this issue Oct 17, 2022
AbdullinAM pushed a commit to AbdullinAM/UTBotJava that referenced this issue Oct 17, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
comp-ui Improvements of plugin UI appearence and functionality
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants