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

UI. Test framework. Set default to the existing one in project #499

Closed
alisevych opened this issue Jul 12, 2022 · 0 comments · Fixed by #507
Closed

UI. Test framework. Set default to the existing one in project #499

alisevych opened this issue Jul 12, 2022 · 0 comments · Fixed by #507
Assignees
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-enhancement New feature, improvement or change request

Comments

@alisevych
Copy link
Member

alisevych commented Jul 12, 2022

Description

Suggestion: Set default Test framework to the one existing in the project dependencies.

Expected behavior

If Maven/Gradle/IDEA project already has test automation framework configured - suggest it as default for test generation.
Other frameworks can be available to choose and install.
Several test runners in one project - it is a configuration issue that must be resolved. If we use the already installed runner we avoid this issue. Also thus we minimize changes to the user's project configuration.

Environment

IntelliJ IDEA
JUnit4, JUnit5, TestNG - possible frameworks for projects with JDK 9+
JUnit4, JUnit5 - for projects with JDK 8

Potential alternatives

Now the default test framework is JUnit5

@korifey korifey moved this to Todo in UTBot Java Jul 12, 2022
@alisevych alisevych changed the title ??? Dialog. Test framework => defaulted to JUnit5 ??? or must be defaulted to the one existing in project dependencies ??? UI. Default Test framework is the one existing in project dependencies Jul 12, 2022
@alisevych alisevych added ctg-enhancement New feature, improvement or change request comp-ui Improvements of plugin UI appearence and functionality labels Jul 12, 2022
@alisevych alisevych changed the title UI. Default Test framework is the one existing in project dependencies UI. Test framework. Set default to the existing one in project Jul 12, 2022
@EgorkaKulikov EgorkaKulikov moved this from Todo to In Progress in UTBot Java Jul 12, 2022
EgorkaKulikov added a commit that referenced this issue Jul 13, 2022
…#499 #500 (#507)

* Default value of codegen language and test framework is improved in UI #499 #500
Repository owner moved this from In Progress to Done in UTBot Java Jul 13, 2022
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
Projects
Archived in project
2 participants