Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

TestNG should be available by default in Spring project #2374

Closed
alisevych opened this issue Jul 6, 2023 · 0 comments · Fixed by #2381
Closed

TestNG should be available by default in Spring project #2374

alisevych opened this issue Jul 6, 2023 · 0 comments · Fixed by #2381
Assignees
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-bug Issue is a bug

Comments

@alisevych
Copy link
Member

Description

TestNG should be present by default in Spring project with No configuration selected.
But it is not.
It appears only after some Spring configuration is selected - and then No configuration is selected back

To Reproduce

  1. Install UnitTestBot plugin built from main in IntelliJ IDEA 2023.1.3
  2. Open spring-boot-testing project
  3. Open UnitTestBot action dialog for OrderController class
  4. Check JUnit 5 and No configuration are selected
  5. Open Testing framework list of suggestions
  6. Select some Spring configuration
  7. Select No configuration again
  8. Open Testing framework list of suggestions

Expected behavior

TestNG should be present in list of suggestions - when No configuration is selected.

Actual behavior

TestNG is missing on step 5. It appears only on step 8.

Screenshots, logs

step 4.
image

step 5.
image

Environment

IntelliJ IDEA version - Ultimate 2023.1.3
Project - Maven
JDK - 1.8

Additional context

related to:

@alisevych alisevych added ctg-bug Issue is a bug comp-ui Improvements of plugin UI appearence and functionality labels Jul 6, 2023
@alisevych alisevych added this to the Spring July stabilization milestone Jul 6, 2023
@alisevych alisevych changed the title TestNG should be present by default in Spring project TestNG should be available by default in Spring project Jul 6, 2023
EgorkaKulikov pushed a commit that referenced this issue Jul 7, 2023
* Fix bug with testFramework list presentation

* Rename method
@github-project-automation github-project-automation bot moved this from Todo to Done in UTBot Java Jul 7, 2023
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-bug Issue is a bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants