daggerok / webflux-reactive-testing-example

Reactive TDD... WebFlux, Mongo, StepVerifier...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reactive TDD contracts with spring-boot CI

Dev

rm -rf ~/.m2/repository/com/github/daggerok
./mvnw clean test install -f reservation-service ; ./mvnw clean test -f reservation-client

Docs

See reservation-service/src/test/java/com/github/daggerok tests

Follow guide from git commits...

run tests

./mvnw clean test

run app with embedded mongo

./mvnw -f ./reservation-service/pom.xml -P mongoEmbedded spring-boot:run
# or
./mvnw -pl :reservation-service -Dmongo=embedded spring-boot:run

resources: