Skip to content

Show warning message instead of TestsDialogWindow when no methods/classes available #516

Closed
@volivan239

Description

@volivan239

Description

If user launches "Create tests with UTBot" on a class that has no methods (or no overriden methods), plugin shows a dialog with empty list of methods and disabled "OK" button which seems odd.

image

Expected behavior

Show a warning/error message stating that there are no available methods for test generation.

Potential alternatives

Other ways to clearly inform that there are no methods/classes available for testing.

Metadata

Metadata

Assignees

Labels

comp-uiImprovements of plugin UI appearence and functionalityctg-enhancementNew feature, improvement or change request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions