Skip to content

Commit d5caad4

Browse files
remove spock tests
1 parent 6c00bb9 commit d5caad4

File tree

5 files changed

+1
-91
lines changed

5 files changed

+1
-91
lines changed

build.gradle

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
22

33
plugins {
4-
id 'org.springframework.boot' version '3.3.1'
4+
id 'org.springframework.boot' version '3.3.3'
55
id 'io.spring.dependency-management' version '1.1.6'
66
id 'org.jetbrains.kotlin.jvm' version '2.0.20'
77
id 'org.jetbrains.kotlin.plugin.spring' version '2.0.20'
@@ -56,14 +56,8 @@ dependencies {
5656

5757
// testcontainers
5858
testImplementation 'org.testcontainers:junit-jupiter'
59-
testImplementation 'org.testcontainers:spock'
6059
testImplementation 'org.testcontainers:postgresql'
6160

62-
// spock
63-
testImplementation group: 'org.codehaus.groovy', name: 'groovy-all', version: '3.0.21', ext: 'pom'
64-
testImplementation group: 'org.spockframework', name: 'spock-core', version: '2.4-M4-groovy-4.0'
65-
testImplementation group: 'org.spockframework', name: 'spock-spring', version: '2.4-M4-groovy-4.0'
66-
6761
// guerydsl
6862
implementation 'com.querydsl:querydsl-jpa:5.1.0'
6963
kapt group: 'com.querydsl', name: 'querydsl-apt', version: '5.1.0', classifier: 'jakarta'
@@ -134,11 +128,6 @@ tasks.withType(KotlinCompile) {
134128
}
135129
}
136130

137-
compileTestGroovy {
138-
dependsOn tasks.getByPath('compileTestKotlin')
139-
classpath += files(compileTestKotlin)
140-
}
141-
142131
tasks.named('test') {
143132
useJUnitPlatform()
144133
}

src/main/kotlin/com/softeno/template/app/permission/Permission.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package com.softeno.template.app.permission
33
import com.softeno.template.app.common.db.BaseEntity
44
import jakarta.persistence.Column
55
import jakarta.persistence.Entity
6-
import jakarta.persistence.MappedSuperclass
76
import jakarta.persistence.Table
87
import java.util.UUID
98

src/test/groovy/com/softeno/template/app/BaseAppSpec.groovy

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/test/groovy/com/softeno/template/app/SoftenoAppSpec.groovy

Lines changed: 0 additions & 50 deletions
This file was deleted.

src/test/kotlin/com/softeno/template/app/IntegrationTest.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import org.springframework.core.Ordered
2525
import org.springframework.core.annotation.Order
2626
import org.springframework.data.domain.PageImpl
2727
import org.springframework.data.domain.Pageable
28-
import org.springframework.kafka.test.context.EmbeddedKafka
2928
import org.springframework.test.web.reactive.server.WebTestClient
3029
import org.springframework.web.reactive.function.BodyInserters
3130
import org.springframework.web.reactive.function.client.WebClient
@@ -41,7 +40,6 @@ import org.testcontainers.junit.jupiter.Testcontainers
4140
)
4241
@AutoConfigureWebTestClient(timeout = "6000")
4342
@EnableConfigurationProperties
44-
@EmbeddedKafka(partitions = 1, brokerProperties = ["listeners=PLAINTEXT://localhost:9092", "port=9092"])
4543
@ConfigurationPropertiesScan("com.softeno")
4644
abstract class BaseIntegrationTest {
4745

0 commit comments

Comments
 (0)