quarkus-test-hibernate-reactive-panache is a test-scope Quarkus extension for testing Hibernate Reactive Panache persistence with reactive transactions and Uni-based assertions. section 7.7.2
Use the extension to:
- Run reactive persistence tests on the Vert.x event-loop thread with @RunOnVertxContext. section 7.7.2
- Inject TransactionalUniAsserter for assertions whose operations run in separate transactions. section 7.7.2
- Pass values between asynchronous assertions with putData and getData. section 7.7.2
Testing a persisted reservation
Inject TransactionalUniAsserter, persist a Reservation through a Uni-producing operation, store its generated identifier, then assert the count and retrieve the entity with findById.
