Description
To Reproduce
publicint[] arrayCopy() {
int[] fst = {1, 2, 3};
int[] snd = {4, 5, 6};
System.arraycopy(fst, 0, snd, 0, 3);
returnsnd;
}Steps to reproduce the behavior:
- Open
algorithms/Sort.java sample from UTBot project - Or use code sample from above.
- In plugin settings set generation method to 95% Symbolic
- Use plugin to generate tests
- Open the generated test
Expected behavior
Every test is placed in region with name and has proper java doc description
Actual behavior
Quite many regions have no names and some tests have no javadocs
Visual proofs (screenshots, logs, images)
Here is one of generated test:
publicclassSortTest {
///region Test suites for executable org.example.Sort.arrayCopy///region@TestpublicvoidtestArrayCopy1() {
Sortsort = newSort();
int[] actual = sort.arrayCopy();
int[] expected = {1, 2, 3};
assertArrayEquals(expected, actual);
}
...
Description
To Reproduce
Steps to reproduce the behavior:
algorithms/Sort.javasample from UTBot projectExpected behavior
Every test is placed in region with name and has proper java doc description
Actual behavior
Quite many regions have no names and some tests have no javadocs
Visual proofs (screenshots, logs, images)
Here is one of generated test: