Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daggerok/webflux-reactive-testing-example

Reactive TDD... WebFlux, Mongo, StepVerifier...
https://github.com/daggerok/webflux-reactive-testing-example

embedded-mongodb junit junit-4 junit-5 junit-jupiter junit4 junit5 mokito mongodb reactive-programming spring-boot spring-boot-test spring-cloud-contract spring-cloud-contract-maven-plugin spring-cloud-contract-stub-runner spring-cloud-contract-verifier step-verifier stepverifier tdd webflux

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# Reactive TDD contracts with spring-boot [![CI](https://github.com/daggerok/webflux-reactive-testing-example/actions/workflows/ci.yaml/badge.svg)](https://github.com/daggerok/webflux-reactive-testing-example/actions/workflows/ci.yaml)

## Dev

```bash
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_

```bash
./mvnw clean test
```

_run app with embedded mongo_

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

resources:

* [YouTube: Bootiful Testing](https://www.youtube.com/watch?v=1W5_tOiwEAc)