You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some tests generated for ArraysQuickSort.sort in Parameterized mode are presented as regular tests.
They are put in to region ///region Tests for method sort(int[], int, int, int[], int, int) that cannot be presented as parameterized
Now there are 2 types of such tests:
Check File -> Settings are default: 95% Symbolic execution
Open UTBotJava project
Generate tests for ArrayQuickSort with JUnit5 and Parameterized on.
Expected behavior
Regions in the generated tests are supposed to be similar to the ones generated with parameterization off.
Actual behavior
///region Tests for method sort(int[], int, int, int[], int, int) that cannot be presented as parameterized
Regions in generated tests, that cannot be presented as parameterized, do not contain information about which suite they belong to.
Fuzzing / Symbolic, Successful / Explicitly thrown exceptions / ...
@alisevych could we say now that we are satisfied for today with the existing master?
As for regions for parameterized tests - they are readable:
///region Test suites for executable org.utbot.examples.algorithms.Sort.quickSort///region Parameterized test for method quickSort(long[], int, int)///endregion///region FUZZER: Tests for method quickSort(long[], int, int)///endregion///endregion
Can we also leave information that these tests cannot be presented as parameterized - as it was done before?
Activity
alisevych commentedon Nov 3, 2022
@korifey @amandelpie @EgorkaKulikov
Could you please check the expected and actual result? What would be the correct way to name these suites?
Improve documentation for regions in parametrized tests #1301 (#1340)
amandelpie commentedon Nov 14, 2022
@alisevych could we say now that we are satisfied for today with the existing master?
alisevych commentedon Nov 17, 2022
As for regions for parameterized tests - they are readable:
Can we also leave information that these tests cannot be presented as parameterized - as it was done before?
Fixed the region names #1301 (#1393)