Skip to content

Commit f53eb3f

Browse files
authored
Test sets reconfigured (#2187)
* test sets reconfigured #2169: * split composite tests into three parts * primitives, strings, strings11 moved to different bunches * additional split of examples-part1 * add limit-access-to-actor
1 parent fa25dd1 commit f53eb3f

File tree

2 files changed

+35
-10
lines changed

2 files changed

+35
-10
lines changed

.github/workflows/build-and-run-tests-from-branch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ jobs:
130130
# hashFiles returns a single hash for the set of files that matches the path pattern
131131
key: ${{ runner.os }}-gradle-framework-${{ hashFiles('./*.gradle*', './utbot-framework*/*.gradle*') }}
132132
restore-keys: ${{ runner.os }}-gradle-framework
133+
133134
- name: Run tests
134135
run: |
135136
gradle --no-daemon --build-cache --no-parallel -Dorg.gradle.jvmargs=-Xmx6g -Dkotlin.daemon.jvm.options=-Xmx4g :utbot-framework-test:test ${{ matrix.project.TESTS_TO_RUN }}

.github/workflows/framework-tests-matrix.json

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,56 @@
11
{
22
"project": [
33
{
4-
"PART_NAME": "composite",
5-
"TESTS_TO_RUN": "--tests \"org.utbot.examples.manual.*\" --tests \"org.utbot.examples.stream.*\" --tests \"org.utbot.engine.*\" --tests \"org.utbot.framework.*\" --tests \"org.utbot.sarif.*\""
4+
"PART_NAME": "composite-part1",
5+
"TESTS_TO_RUN": "--tests \"org.utbot.examples.manual.*\""
66
},
77
{
8-
"PART_NAME": "collections-part1",
9-
"TESTS_TO_RUN": "--tests \"org.utbot.examples.collections.CustomerExamplesTest\" --tests \"org.utbot.examples.collections.GenericListsExampleTest\" --tests \"org.utbot.examples.collections.LinkedListsTest\" --tests \"org.utbot.examples.collections.ListAlgorithmsTest\" --tests \"org.utbot.examples.collections.ListIteratorsTest\" --tests \"org.utbot.examples.collections.ListWrapperReturnsVoidTest\" --tests \"org.utbot.examples.collections.MapEntrySetTest\" --tests \"org.utbot.examples.collections.MapKeySetTest\""
8+
"PART_NAME": "composite-part2",
9+
"TESTS_TO_RUN": "--tests \"org.utbot.engine.*\" --tests \"org.utbot.framework.*\" --tests \"org.utbot.sarif.*\""
1010
},
1111
{
12-
"PART_NAME": "collections-part2",
13-
"TESTS_TO_RUN": "--tests \"org.utbot.examples.collections.MapValuesTest\" --tests \"org.utbot.examples.collections.OptionalsTest\" --tests \"org.utbot.examples.collections.SetIteratorsTest\""
12+
"PART_NAME": "composite-part3",
13+
"TESTS_TO_RUN": "--tests \"org.utbot.examples.stream.*\""
14+
},
15+
{
16+
"PART_NAME": "collections-part1",
17+
"TESTS_TO_RUN": "--tests \"org.utbot.examples.collections.MapValuesTest\" --tests \"org.utbot.examples.collections.OptionalsTest\" --tests \"org.utbot.examples.collections.SetIteratorsTest\" --tests \"org.utbot.examples.collections.CustomerExamplesTest\" --tests \"org.utbot.examples.collections.GenericListsExampleTest\" --tests \"org.utbot.examples.collections.LinkedListsTest\" --tests \"org.utbot.examples.collections.ListAlgorithmsTest\""
1418
},
1519
{
16-
"PART_NAME": "collections-part3",
17-
"TESTS_TO_RUN": "--tests \"org.utbot.examples.collections.SetsTest\""
20+
"PART_NAME": "collections-part2",
21+
"TESTS_TO_RUN": "--tests \"org.utbot.examples.collections.SetsTest\" --tests \"org.utbot.examples.collections.ListIteratorsTest\" --tests \"org.utbot.examples.collections.ListWrapperReturnsVoidTest\" --tests \"org.utbot.examples.collections.MapEntrySetTest\" --tests \"org.utbot.examples.collections.MapKeySetTest\""
1822
},
1923
{
2024
"PART_NAME": "examples-part1",
21-
"TESTS_TO_RUN": "--tests \"org.utbot.examples.algorithms.*\" --tests \"org.utbot.examples.annotations.*\" --tests \"org.utbot.examples.arrays.*\" --tests \"org.utbot.examples.casts.*\" --tests \"org.utbot.examples.codegen.*\" --tests \"org.utbot.examples.controlflow.*\" --tests \"org.utbot.examples.enums.*\""
25+
"TESTS_TO_RUN": "--tests \"org.utbot.examples.annotations.*\" --tests \"org.utbot.examples.arrays.*\" --tests \"org.utbot.examples.casts.*\" --tests \"org.utbot.examples.controlflow.*\" --tests \"org.utbot.examples.enums.*\""
2226
},
2327
{
2428
"PART_NAME": "examples-part2",
2529
"TESTS_TO_RUN": "--tests \"org.utbot.examples.exceptions.*\" --tests \"org.utbot.examples.invokes.*\" --tests \"org.utbot.examples.lambda.*\" --tests \"org.utbot.examples.make.symbolic.*\" --tests \"org.utbot.examples.math.*\" --tests \"org.utbot.examples.mixed.*\" --tests \"org.utbot.examples.mock.*\" --tests \"org.utbot.examples.models.*\" --tests \"org.utbot.examples.natives.*\" --tests \"org.utbot.examples.objects.*\" --tests \"org.utbot.examples.reflection.*\" --tests \"org.utbot.examples.threads.*\""
2630
},
2731
{
2832
"PART_NAME": "examples-part3",
29-
"TESTS_TO_RUN": "--tests \"org.utbot.examples.primitives.*\" --tests \"org.utbot.examples.recursion.*\" --tests \"org.utbot.examples.statics.substitution.*\" --tests \"org.utbot.examples.stdlib.*\" --tests \"org.utbot.examples.strings11.*\" --tests \"org.utbot.examples.strings.*\" --tests \"org.utbot.examples.structures.*\" --tests \"org.utbot.examples.thirdparty.numbers.*\" --tests \"org.utbot.examples.types.*\" --tests \"org.utbot.examples.unsafe.*\" --tests \"org.utbot.examples.wrappers.*\""
33+
"TESTS_TO_RUN": "--tests \"org.utbot.examples.primitives.*\""
34+
},
35+
{
36+
"PART_NAME": "examples-part4",
37+
"TESTS_TO_RUN": "--tests \"org.utbot.examples.thirdparty.numbers.*\" --tests \"org.utbot.examples.types.*\" --tests \"org.utbot.examples.unsafe.*\" --tests \"org.utbot.examples.wrappers.*\" --tests \"org.utbot.examples.recursion.*\" --tests \"org.utbot.examples.statics.substitution.*\" --tests \"org.utbot.examples.stdlib.*\" --tests \"org.utbot.examples.structures.*\""
38+
},
39+
{
40+
"PART_NAME": "examples-part5",
41+
"TESTS_TO_RUN": "--tests \"org.utbot.examples.strings.*\""
42+
},
43+
{
44+
"PART_NAME": "examples-part6",
45+
"TESTS_TO_RUN": "--tests \"org.utbot.examples.strings11.*\""
46+
},
47+
{
48+
"PART_NAME": "examples-part7",
49+
"TESTS_TO_RUN": "--tests \"org.utbot.examples.algorithms.*\""
50+
},
51+
{
52+
"PART_NAME": "examples-part8",
53+
"TESTS_TO_RUN": "--tests \"org.utbot.examples.codegen.*\""
3054
},
3155
{
3256
"PART_NAME": "examples-lists",

0 commit comments

Comments
 (0)