From 284b147199a9034cf1ad013b15bf56249553909a Mon Sep 17 00:00:00 2001 From: Dimitri Date: Sun, 17 Apr 2022 02:25:15 +0400 Subject: [PATCH 01/12] Test --- .github/build.yml | 36 +++++++++++++++++++ pom.xml | 2 +- ...erHeroControllerMockMvcStandaloneTest.java | 16 ++++----- ...rHeroControllerMockMvcWithContextTest.java | 14 ++++---- ...SuperHeroControllerSpringBootMockTest.java | 14 ++++---- .../SuperHeroControllerSpringBootTest.java | 19 +++++----- src/test/resources/junit-platform.properties | 4 +++ 7 files changed, 73 insertions(+), 32 deletions(-) create mode 100644 .github/build.yml create mode 100644 src/test/resources/junit-platform.properties diff --git a/.github/build.yml b/.github/build.yml new file mode 100644 index 0000000..ea02de8 --- /dev/null +++ b/.github/build.yml @@ -0,0 +1,36 @@ +name: PR build + +on: + pull_request: + branches: + - master + - develop + +jobs: + build-backend: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set up JDK 17 + uses: actions/setup-java@v2 + with: + java-version: '17' + distribution: 'adopt' + - name: Cache SonarCloud packages + uses: actions/cache@v1 + with: + path: ~/.sonar/cache + key: ${{ runner.os }}-sonar + restore-keys: ${{ runner.os }}-sonar + - name: Cache Gradle packages + uses: actions/cache@v1 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + # Step that runs the tests + - name: Run tests + run: mvn test diff --git a/pom.xml b/pom.xml index 8f994ed..02f692f 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.5.5 + 2.6.6 diff --git a/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerMockMvcStandaloneTest.java b/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerMockMvcStandaloneTest.java index af52c26..e64b5f1 100644 --- a/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerMockMvcStandaloneTest.java +++ b/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerMockMvcStandaloneTest.java @@ -30,7 +30,7 @@ * @author moises.macero */ @ExtendWith(MockitoExtension.class) -public class SuperHeroControllerMockMvcStandaloneTest { +class SuperHeroControllerMockMvcStandaloneTest { private MockMvc mvc; @@ -44,7 +44,7 @@ public class SuperHeroControllerMockMvcStandaloneTest { private JacksonTester jsonSuperHero; @BeforeEach - public void setup() { + void setup() { // We would need this line if we would not use the MockitoExtension // MockitoAnnotations.initMocks(this); // Here we can't use @AutoConfigureJsonTesters because there isn't a Spring context @@ -57,7 +57,7 @@ public void setup() { } @Test - public void canRetrieveByIdWhenExists() throws Exception { + void canRetrieveByIdWhenExists() throws Exception { // given given(superHeroRepository.getSuperHero(2)) .willReturn(new SuperHero("Rob", "Mannon", "RobotMan")); @@ -76,7 +76,7 @@ public void canRetrieveByIdWhenExists() throws Exception { } @Test - public void canRetrieveByIdWhenDoesNotExist() throws Exception { + void canRetrieveByIdWhenDoesNotExist() throws Exception { // given given(superHeroRepository.getSuperHero(2)) .willThrow(new NonExistingHeroException()); @@ -93,7 +93,7 @@ public void canRetrieveByIdWhenDoesNotExist() throws Exception { } @Test - public void canRetrieveByNameWhenExists() throws Exception { + void canRetrieveByNameWhenExists() throws Exception { // given given(superHeroRepository.getSuperHero("RobotMan")) .willReturn(Optional.of(new SuperHero("Rob", "Mannon", "RobotMan"))); @@ -112,7 +112,7 @@ public void canRetrieveByNameWhenExists() throws Exception { } @Test - public void canRetrieveByNameWhenDoesNotExist() throws Exception { + void canRetrieveByNameWhenDoesNotExist() throws Exception { // given given(superHeroRepository.getSuperHero("RobotMan")) .willReturn(Optional.empty()); @@ -129,7 +129,7 @@ public void canRetrieveByNameWhenDoesNotExist() throws Exception { } @Test - public void canCreateANewSuperHero() throws Exception { + void canCreateANewSuperHero() throws Exception { // when MockHttpServletResponse response = mvc.perform( post("/superheroes/").contentType(MediaType.APPLICATION_JSON).content( @@ -141,7 +141,7 @@ public void canCreateANewSuperHero() throws Exception { } @Test - public void headerIsPresent() throws Exception { + void headerIsPresent() throws Exception { // when MockHttpServletResponse response = mvc.perform( get("/superheroes/2") diff --git a/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerMockMvcWithContextTest.java b/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerMockMvcWithContextTest.java index a840735..9ce3ac4 100644 --- a/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerMockMvcWithContextTest.java +++ b/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerMockMvcWithContextTest.java @@ -28,7 +28,7 @@ */ @AutoConfigureJsonTesters @WebMvcTest(SuperHeroController.class) -public class SuperHeroControllerMockMvcWithContextTest { +class SuperHeroControllerMockMvcWithContextTest { @Autowired private MockMvc mvc; @@ -41,7 +41,7 @@ public class SuperHeroControllerMockMvcWithContextTest { private JacksonTester jsonSuperHero; @Test - public void canRetrieveByIdWhenExists() throws Exception { + void canRetrieveByIdWhenExists() throws Exception { // given given(superHeroRepository.getSuperHero(2)) .willReturn(new SuperHero("Rob", "Mannon", "RobotMan")); @@ -60,7 +60,7 @@ public void canRetrieveByIdWhenExists() throws Exception { } @Test - public void canRetrieveByIdWhenDoesNotExist() throws Exception { + void canRetrieveByIdWhenDoesNotExist() throws Exception { // given given(superHeroRepository.getSuperHero(2)) .willThrow(new NonExistingHeroException()); @@ -77,7 +77,7 @@ public void canRetrieveByIdWhenDoesNotExist() throws Exception { } @Test - public void canRetrieveByNameWhenExists() throws Exception { + void canRetrieveByNameWhenExists() throws Exception { // given given(superHeroRepository.getSuperHero("RobotMan")) .willReturn(Optional.of(new SuperHero("Rob", "Mannon", "RobotMan"))); @@ -96,7 +96,7 @@ public void canRetrieveByNameWhenExists() throws Exception { } @Test - public void canRetrieveByNameWhenDoesNotExist() throws Exception { + void canRetrieveByNameWhenDoesNotExist() throws Exception { // given given(superHeroRepository.getSuperHero("RobotMan")) .willReturn(Optional.empty()); @@ -113,7 +113,7 @@ public void canRetrieveByNameWhenDoesNotExist() throws Exception { } @Test - public void canCreateANewSuperHero() throws Exception { + void canCreateANewSuperHero() throws Exception { // when MockHttpServletResponse response = mvc.perform( post("/superheroes/").contentType(MediaType.APPLICATION_JSON).content( @@ -125,7 +125,7 @@ public void canCreateANewSuperHero() throws Exception { } @Test - public void headerIsPresent() throws Exception { + void headerIsPresent() throws Exception { // when MockHttpServletResponse response = mvc.perform( get("/superheroes/2") diff --git a/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerSpringBootMockTest.java b/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerSpringBootMockTest.java index 1270e75..1665d33 100644 --- a/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerSpringBootMockTest.java +++ b/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerSpringBootMockTest.java @@ -31,7 +31,7 @@ @AutoConfigureJsonTesters @SpringBootTest @AutoConfigureMockMvc -public class SuperHeroControllerSpringBootMockTest { +class SuperHeroControllerSpringBootMockTest { @Autowired private MockMvc mvc; @@ -44,7 +44,7 @@ public class SuperHeroControllerSpringBootMockTest { private JacksonTester jsonSuperHero; @Test - public void canRetrieveByIdWhenExists() throws Exception { + void canRetrieveByIdWhenExists() throws Exception { // given given(superHeroRepository.getSuperHero(2)) .willReturn(new SuperHero("Rob", "Mannon", "RobotMan")); @@ -63,7 +63,7 @@ public void canRetrieveByIdWhenExists() throws Exception { } @Test - public void canRetrieveByIdWhenDoesNotExist() throws Exception { + void canRetrieveByIdWhenDoesNotExist() throws Exception { // given given(superHeroRepository.getSuperHero(2)) .willThrow(new NonExistingHeroException()); @@ -80,7 +80,7 @@ public void canRetrieveByIdWhenDoesNotExist() throws Exception { } @Test - public void canRetrieveByNameWhenExists() throws Exception { + void canRetrieveByNameWhenExists() throws Exception { // given given(superHeroRepository.getSuperHero("RobotMan")) .willReturn(Optional.of(new SuperHero("Rob", "Mannon", "RobotMan"))); @@ -99,7 +99,7 @@ public void canRetrieveByNameWhenExists() throws Exception { } @Test - public void canRetrieveByNameWhenDoesNotExist() throws Exception { + void canRetrieveByNameWhenDoesNotExist() throws Exception { // given given(superHeroRepository.getSuperHero("RobotMan")) .willReturn(Optional.empty()); @@ -116,7 +116,7 @@ public void canRetrieveByNameWhenDoesNotExist() throws Exception { } @Test - public void canCreateANewSuperHero() throws Exception { + void canCreateANewSuperHero() throws Exception { // when MockHttpServletResponse response = mvc.perform( post("/superheroes/").contentType(MediaType.APPLICATION_JSON).content( @@ -128,7 +128,7 @@ public void canCreateANewSuperHero() throws Exception { } @Test - public void headerIsPresent() throws Exception { + void headerIsPresent() throws Exception { // when MockHttpServletResponse response = mvc.perform( get("/superheroes/2") diff --git a/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerSpringBootTest.java b/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerSpringBootTest.java index be3b86d..1959406 100644 --- a/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerSpringBootTest.java +++ b/src/test/java/io/tpd/superheroes/controller/SuperHeroControllerSpringBootTest.java @@ -11,6 +11,7 @@ import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; +import java.util.Objects; import java.util.Optional; import static org.assertj.core.api.Assertions.assertThat; @@ -24,7 +25,7 @@ * @author moises.macero */ @SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT) -public class SuperHeroControllerSpringBootTest { +class SuperHeroControllerSpringBootTest { @MockBean private SuperHeroRepository superHeroRepository; @@ -33,7 +34,7 @@ public class SuperHeroControllerSpringBootTest { private TestRestTemplate restTemplate; @Test - public void canRetrieveByIdWhenExists() { + void canRetrieveByIdWhenExists() { // given given(superHeroRepository.getSuperHero(2)) .willReturn(new SuperHero("Rob", "Mannon", "RobotMan")); @@ -43,11 +44,11 @@ public void canRetrieveByIdWhenExists() { // then assertThat(superHeroResponse.getStatusCode()).isEqualTo(HttpStatus.OK); - assertThat(superHeroResponse.getBody().equals(new SuperHero("Rob", "Mannon", "RobotMan"))); + assertThat(Objects.equals(superHeroResponse.getBody(), new SuperHero("Rob", "Mannon", "RobotMan"))); } @Test - public void canRetrieveByIdWhenDoesNotExist() { + void canRetrieveByIdWhenDoesNotExist() { // given given(superHeroRepository.getSuperHero(2)) .willThrow(new NonExistingHeroException()); @@ -61,7 +62,7 @@ public void canRetrieveByIdWhenDoesNotExist() { } @Test - public void canRetrieveByNameWhenExists() { + void canRetrieveByNameWhenExists() { // given given(superHeroRepository.getSuperHero("RobotMan")) .willReturn(Optional.of(new SuperHero("Rob", "Mannon", "RobotMan"))); @@ -72,11 +73,11 @@ public void canRetrieveByNameWhenExists() { // then assertThat(superHeroResponse.getStatusCode()).isEqualTo(HttpStatus.OK); - assertThat(superHeroResponse.getBody().equals(new SuperHero("Rob", "Mannon", "RobotMan"))); + assertThat(Objects.equals(superHeroResponse.getBody(), new SuperHero("Rob", "Mannon", "RobotMan"))); } @Test - public void canRetrieveByNameWhenDoesNotExist() { + void canRetrieveByNameWhenDoesNotExist() { // given given(superHeroRepository.getSuperHero("RobotMan")) .willReturn(Optional.empty()); @@ -91,7 +92,7 @@ public void canRetrieveByNameWhenDoesNotExist() { } @Test - public void canCreateANewSuperHero() { + void canCreateANewSuperHero() { // when ResponseEntity superHeroResponse = restTemplate.postForEntity("/superheroes/", new SuperHero("Rob", "Mannon", "RobotMan"), SuperHero.class); @@ -101,7 +102,7 @@ public void canCreateANewSuperHero() { } @Test - public void headerIsPresent() throws Exception { + void headerIsPresent() throws Exception { // when ResponseEntity superHeroResponse = restTemplate.getForEntity("/superheroes/2", SuperHero.class); diff --git a/src/test/resources/junit-platform.properties b/src/test/resources/junit-platform.properties new file mode 100644 index 0000000..951c76a --- /dev/null +++ b/src/test/resources/junit-platform.properties @@ -0,0 +1,4 @@ +junit.jupiter.execution.parallel.enabled = false +junit.jupiter.execution.parallel.mode.default = concurrent +junit.jupiter.execution.parallel.mode.classes.default = concurrent +junit.jupiter.execution.parallel.config.fixed.parallelism = 5 From 0c6d5104d7a929fc43a0634df360f6b4b2997f1d Mon Sep 17 00:00:00 2001 From: ditogam Date: Sun, 17 Apr 2022 02:26:21 +0400 Subject: [PATCH 02/12] Test --- .github/workflows/main.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..ea02de8 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,36 @@ +name: PR build + +on: + pull_request: + branches: + - master + - develop + +jobs: + build-backend: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set up JDK 17 + uses: actions/setup-java@v2 + with: + java-version: '17' + distribution: 'adopt' + - name: Cache SonarCloud packages + uses: actions/cache@v1 + with: + path: ~/.sonar/cache + key: ${{ runner.os }}-sonar + restore-keys: ${{ runner.os }}-sonar + - name: Cache Gradle packages + uses: actions/cache@v1 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + # Step that runs the tests + - name: Run tests + run: mvn test From b989600f33c5041338763ad7a5dcaab23f8b4ed8 Mon Sep 17 00:00:00 2001 From: Dimitri Date: Sun, 17 Apr 2022 02:27:12 +0400 Subject: [PATCH 03/12] Test --- .github/{ => workflows}/build.yml | 0 .github/workflows/main.yml | 36 ------------------------------- 2 files changed, 36 deletions(-) rename .github/{ => workflows}/build.yml (100%) delete mode 100644 .github/workflows/main.yml diff --git a/.github/build.yml b/.github/workflows/build.yml similarity index 100% rename from .github/build.yml rename to .github/workflows/build.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index ea02de8..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: PR build - -on: - pull_request: - branches: - - master - - develop - -jobs: - build-backend: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set up JDK 17 - uses: actions/setup-java@v2 - with: - java-version: '17' - distribution: 'adopt' - - name: Cache SonarCloud packages - uses: actions/cache@v1 - with: - path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - - name: Cache Gradle packages - uses: actions/cache@v1 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- - # Step that runs the tests - - name: Run tests - run: mvn test From db03856b090a508497e10fe0818ea54cae1c5abe Mon Sep 17 00:00:00 2001 From: Dimitri Date: Sun, 17 Apr 2022 02:30:32 +0400 Subject: [PATCH 04/12] Test --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea02de8..e9dbbff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ on: jobs: build-backend: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@v2 with: From ad006b0fe82be46c4e58b874f3ebf89390299fe4 Mon Sep 17 00:00:00 2001 From: Dimitri Date: Sun, 17 Apr 2022 02:35:11 +0400 Subject: [PATCH 05/12] Test --- .github/workflows/build.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e9dbbff..ebd8993 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,11 +1,5 @@ name: PR build -on: - pull_request: - branches: - - master - - develop - jobs: build-backend: runs-on: self-hosted From 4aff919c0565bceb3800395f1712b07527cb6e3d Mon Sep 17 00:00:00 2001 From: Dimitri Date: Sun, 17 Apr 2022 02:38:42 +0400 Subject: [PATCH 06/12] Test --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ebd8993..3a8f7e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,8 @@ name: PR build - +on: + push: + branches: + - master jobs: build-backend: runs-on: self-hosted From f7cb496d2124ea7ce18c840c6d25f34e49e1ee90 Mon Sep 17 00:00:00 2001 From: Dimitri Date: Sun, 17 Apr 2022 02:42:40 +0400 Subject: [PATCH 07/12] Test --- .github/workflows/build.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a8f7e3..62c9a78 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,12 +15,6 @@ jobs: with: java-version: '17' distribution: 'adopt' - - name: Cache SonarCloud packages - uses: actions/cache@v1 - with: - path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - name: Cache Gradle packages uses: actions/cache@v1 with: From 47f039a79bd6a2f07588a53a0dd2a2b9a139b2d7 Mon Sep 17 00:00:00 2001 From: Dimitri Date: Sun, 17 Apr 2022 02:43:11 +0400 Subject: [PATCH 08/12] Test --- .github/workflows/build.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62c9a78..74bfc24 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,13 +15,6 @@ jobs: with: java-version: '17' distribution: 'adopt' - - name: Cache Gradle packages - uses: actions/cache@v1 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- # Step that runs the tests - name: Run tests run: mvn test From 24e9f22d80912630263b3c3729b9902b861b4a14 Mon Sep 17 00:00:00 2001 From: Dimitri Date: Sun, 17 Apr 2022 02:51:37 +0400 Subject: [PATCH 09/12] Test --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74bfc24..5d5a911 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,4 +17,4 @@ jobs: distribution: 'adopt' # Step that runs the tests - name: Run tests - run: mvn test + run: ./mvnw test From 6bfd2d9207c5c7cce0e3ec8e5ba62b01132fdab2 Mon Sep 17 00:00:00 2001 From: Dimitri Date: Sun, 17 Apr 2022 02:53:17 +0400 Subject: [PATCH 10/12] Test --- .github/workflows/build.yml | 11 ++++++++++- mvnw | 0 2 files changed, 10 insertions(+), 1 deletion(-) mode change 100644 => 100755 mvnw diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5d5a911..7d4f671 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,15 @@ jobs: with: java-version: '17' distribution: 'adopt' + - name: Cache Gradle packages + uses: actions/cache@v1 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- # Step that runs the tests - name: Run tests - run: ./mvnw test + run: | + chmod 777 mvnw + ./mvnw test diff --git a/mvnw b/mvnw old mode 100644 new mode 100755 From 62fbdcffd2b7d4a7deb757afa3573d65542d5575 Mon Sep 17 00:00:00 2001 From: Dimitri Date: Sun, 17 Apr 2022 02:55:47 +0400 Subject: [PATCH 11/12] Test --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d4f671..f56ecce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: with: java-version: '17' distribution: 'adopt' - - name: Cache Gradle packages + - name: Cache Maven packages uses: actions/cache@v1 with: path: ~/.m2/repository From c804704989061ce1fd3d10f4acb88d108d6b4702 Mon Sep 17 00:00:00 2001 From: Dimitri Date: Sun, 17 Apr 2022 02:56:33 +0400 Subject: [PATCH 12/12] Test --- src/test/resources/junit-platform.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/resources/junit-platform.properties b/src/test/resources/junit-platform.properties index 951c76a..6076b58 100644 --- a/src/test/resources/junit-platform.properties +++ b/src/test/resources/junit-platform.properties @@ -1,4 +1,4 @@ -junit.jupiter.execution.parallel.enabled = false +junit.jupiter.execution.parallel.enabled = true junit.jupiter.execution.parallel.mode.default = concurrent junit.jupiter.execution.parallel.mode.classes.default = concurrent junit.jupiter.execution.parallel.config.fixed.parallelism = 5