Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

JS. Display classes in the member list when action is called on a JS-file and there are 2+ classes inside #1943

Open
Assignees
Labels
comp-uiImprovements of plugin UI appearence and functionality ctg-enhancementNew feature, improvement or change request lang-javascriptIssue is related to JavaScript support
@alisevych

Description

Description

Display all classes in the members list when action is called on a JS-file

To Reproduce

  1. Install the latest IU plugin built from unit-test-bot/rc3102023 branch in IntelliJ Idea Ultimate 2022年2月4日 - take utbot-intellij-IU-2023.3.* artefact
  2. Create a JavaScript project with sample code
  3. Copy samples folder from utbot-js module and paste it into this project
  4. Right-click on samples/scenarioMultyClassNoTopLevel.js in Project view and click on Generate Tests with UnitTestBot...
  5. Check Member list on dialog

Expected behavior

Two classes should be in the list.

Actual behavior

Two functions from the first class are listed.

Visual proofs (screenshots, logs, images)

image

Environment

IntelliJ IDEA Ultimate 2022年2月4日
Node.js 18.14.2

Additional context

This is how it is mode in UnitTestBot test generation for Java.

Metadata

Metadata

Assignees

Labels

comp-uiImprovements of plugin UI appearence and functionality ctg-enhancementNew feature, improvement or change request lang-javascriptIssue is related to JavaScript support

Type

No type

Projects

Status

Todo

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /