Skip to content

Commit 7af3feb

Browse files
committed
test(cucumber_get_post): add documentation to launcg cucumber test
1 parent c27fef1 commit 7af3feb

2 files changed

Lines changed: 4 additions & 11 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,16 @@ curl -X PUT "http://localhost:8080/random-users/1" \
132132

133133
# With coverage report (target/site/jacoco/index.html)
134134
./mvnw clean verify
135+
136+
#cucumber tests
137+
./mvnw test -Dtest=CucumberIntegrationTest
135138
```
136139

137140
**Test Stack:**
138141
- JUnit 5 - Testing framework
139142
- Mockito - Mocking
140143
- JaCoCo - Code coverage
141-
- Cucumber - BDD (planned)
144+
- Cucumber - BDD
142145

143146
---
144147

pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,6 @@
9494
<artifactId>spring-boot-restclient</artifactId>
9595
<scope>test</scope>
9696
</dependency>
97-
<dependency>
98-
<groupId>org.springframework.boot</groupId>
99-
<artifactId>spring-boot-testcontainers</artifactId>
100-
<scope>test</scope>
101-
</dependency>
10297
<dependency>
10398
<groupId>io.cucumber</groupId>
10499
<artifactId>cucumber-junit</artifactId>
@@ -111,11 +106,6 @@
111106
<version>7.14.0</version>
112107
<scope>test</scope>
113108
</dependency>
114-
<!-- <dependency>-->
115-
<!-- <groupId>org.testcontainers</groupId>-->
116-
<!-- <artifactId>testcontainers-postgresql</artifactId>-->
117-
<!-- <scope>test</scope>-->
118-
<!-- </dependency>-->
119109
<dependency>
120110
<groupId>io.cucumber</groupId>
121111
<artifactId>cucumber-java</artifactId>

0 commit comments

Comments
 (0)