Closed
Description
Description
enableSummariesGeneration=false
is not applied to Java project from global config file settings.properties
Using plugin with:
To Reproduce
- Install release build into IDEA
- Add
enableSummariesGeneration=false
to the global config file~\.utbot\settings.properties
- Restart IDEA 2022.2.3 (latest) - to apply
settings.properties
- Create a new Java project (f.i. Maven project with JDK 11)
- Check File -> Settings -> Tools -> UnitTestBot
- Generate tests for a sample Java class
Expected behavior
- Summaries are supposed to be turned off - as in global config.
- Tests are supposed to be generated without Java docs, regions and desriptions.
Actual behavior
- Summaries are enabled.
- Summaries are generated - as it is default for Java project - with - Summaries should be turned off for Kotlin related generations #1283
Visual proofs (screenshots, logs, images)
public final class MainTest {
///region Test suites for executable org.example.Main.main
///region FUZZER: SUCCESSFUL EXECUTIONS for method main(java.lang.String[])
/**
* @utbot.classUnderTest {@link Main}
* @utbot.methodUnderTest {@link Main#main(String[])}
*/
@Test
@DisplayName("main: arg_0 = String[3]")
public void testMainWithNonEmptyObjectArray() {
String[] args = {"noimn", "oesjb", "noimn"};
Main.main(args);
}
///endregion
///endregion
}
Originally posted by @alisevych in #1291
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done