Skip to content

Commit

Permalink
- Removing API tests as Specmatic can handle that also
Browse files Browse the repository at this point in the history
- Updating README accordingly
  • Loading branch information
harikrishnan83 committed Jul 31, 2024
1 parent 57f7300 commit bab3ee1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 150 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ A typical web application might look like this. We can use Specmatic to practice
1. Spring boot
2. Specmatic
3. Specmatic Beta extension (for mocking Kafka)
4. Karate

## Run Tests
This will start the specmatic stub server for domain api and kafka mock using the information in specmatic.yaml and run contract tests using Specmatic and API Tests using karate.

This will start the specmatic stub server for domain api and kafka mock using the information in specmatic.yaml and run contract tests using Specmatic.
```shell
./gradlew test
```
Expand Down
3 changes: 0 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ dependencies {
implementation 'javax.validation:validation-api:2.0.1.Final'

testImplementation 'org.springframework.boot:spring-boot-starter-test:3.2.0'
testImplementation('com.intuit.karate:karate-junit5:1.4.1') {
exclude group: 'io.netty'
}
testImplementation('io.specmatic:junit5-support:2.0.3')
testImplementation('io.specmatic:specmatic-kafka:0.22.5-TRIAL')
testImplementation(
Expand Down
63 changes: 0 additions & 63 deletions src/test/kotlin/com/component/orders/api/APITests.kt

This file was deleted.

82 changes: 0 additions & 82 deletions src/test/kotlin/com/component/orders/api/apiTests.feature

This file was deleted.

0 comments on commit bab3ee1

Please sign in to comment.