Skip to content

Improve selection table in python UI dialog#2182

Merged
tamarinvs19 merged 6 commits intomainfrom
tamarinvs19/python-ui-action
Apr 24, 2023
Merged

Improve selection table in python UI dialog#2182
tamarinvs19 merged 6 commits intomainfrom
tamarinvs19/python-ui-action

Conversation

@tamarinvs19
Copy link
Collaborator

@tamarinvs19 tamarinvs19 commented Apr 24, 2023

Description

  • New table which can show python classes and python functions
  • Support for choosing python classes and functions in Project window include from directory and from selected files

Fixes #1569
Fixes #2128

How to test

Manual tests

Classes

  1. Try to generate tests from file with one or more classes (click utbot combination not inside class)
  2. Expected: class check boxes in dialog

Classes and functions

  1. Try to generate tests from file with one or more classes and one or more functions (click utbot combination outside all code objects)
  2. Expected: class check boxes and function check boxes in dialog

Generation from Project

Try to generate tests throw right-click in Project window for:

  • one python file
  • a few selected python files
  • one directory
  • a few selected directories

Self-check list

Check off the item if the statement is true. Hint: [x] is a marked item.

Please do not delete the list or its items.

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@tamarinvs19 tamarinvs19 added ctg-enhancement New feature, improvement or change request comp-ui Improvements of plugin UI appearence and functionality lang-python Issue is related to python support labels Apr 24, 2023
@tamarinvs19 tamarinvs19 self-assigned this Apr 24, 2023
@tamarinvs19 tamarinvs19 merged commit 79201d3 into main Apr 24, 2023
@tamarinvs19 tamarinvs19 deleted the tamarinvs19/python-ui-action branch April 24, 2023 16:14
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-enhancement New feature, improvement or change request lang-python Issue is related to python support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Generate Tests" is disabled for Python file which contains only class Allow to start Python test generation for several files

2 participants