Skip to content

Commit

Permalink
remove spock tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xcodeassociated committed Sep 17, 2024
1 parent 6c00bb9 commit d5caad4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 91 deletions.
13 changes: 1 addition & 12 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id 'org.springframework.boot' version '3.3.1'
id 'org.springframework.boot' version '3.3.3'
id 'io.spring.dependency-management' version '1.1.6'
id 'org.jetbrains.kotlin.jvm' version '2.0.20'
id 'org.jetbrains.kotlin.plugin.spring' version '2.0.20'
Expand Down Expand Up @@ -56,14 +56,8 @@ dependencies {

// testcontainers
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:spock'
testImplementation 'org.testcontainers:postgresql'

// spock
testImplementation group: 'org.codehaus.groovy', name: 'groovy-all', version: '3.0.21', ext: 'pom'
testImplementation group: 'org.spockframework', name: 'spock-core', version: '2.4-M4-groovy-4.0'
testImplementation group: 'org.spockframework', name: 'spock-spring', version: '2.4-M4-groovy-4.0'

// guerydsl
implementation 'com.querydsl:querydsl-jpa:5.1.0'
kapt group: 'com.querydsl', name: 'querydsl-apt', version: '5.1.0', classifier: 'jakarta'
Expand Down Expand Up @@ -134,11 +128,6 @@ tasks.withType(KotlinCompile) {
}
}

compileTestGroovy {
dependsOn tasks.getByPath('compileTestKotlin')
classpath += files(compileTestKotlin)
}

tasks.named('test') {
useJUnitPlatform()
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.softeno.template.app.permission
import com.softeno.template.app.common.db.BaseEntity
import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.MappedSuperclass
import jakarta.persistence.Table
import java.util.UUID

Expand Down
26 changes: 0 additions & 26 deletions src/test/groovy/com/softeno/template/app/BaseAppSpec.groovy

This file was deleted.

50 changes: 0 additions & 50 deletions src/test/groovy/com/softeno/template/app/SoftenoAppSpec.groovy

This file was deleted.

2 changes: 0 additions & 2 deletions src/test/kotlin/com/softeno/template/app/IntegrationTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import org.springframework.core.Ordered
import org.springframework.core.annotation.Order
import org.springframework.data.domain.PageImpl
import org.springframework.data.domain.Pageable
import org.springframework.kafka.test.context.EmbeddedKafka
import org.springframework.test.web.reactive.server.WebTestClient
import org.springframework.web.reactive.function.BodyInserters
import org.springframework.web.reactive.function.client.WebClient
Expand All @@ -41,7 +40,6 @@ import org.testcontainers.junit.jupiter.Testcontainers
)
@AutoConfigureWebTestClient(timeout = "6000")
@EnableConfigurationProperties
@EmbeddedKafka(partitions = 1, brokerProperties = ["listeners=PLAINTEXT://localhost:9092", "port=9092"])
@ConfigurationPropertiesScan("com.softeno")
abstract class BaseIntegrationTest {

Expand Down

0 comments on commit d5caad4

Please sign in to comment.