Skip to content

Settings revision, 2nd iteration #977

Closed
@tyuldashev

Description

@tyuldashev
Collaborator

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

comp-uiImprovements of plugin UI appearence and functionality

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @Vassiliy-Kudryashov@tyuldashev@olganaumenko

    Issue actions

      Settings revision, 2nd iteration · Issue #977 · UnitTestBot/UTBotJava