Exploring Jakarta EE integration testing
summary
Compares four concrete ways to run Jakarta EE integration tests using a small loan-calculator app: Weld JUnit 5 spins up a CDI container and uses Mockito for fast, in-process tests; Arquillian assembles a WAR, runs tests in-server but needs heavy config and shows signs of low activity; Testcontainers plus MicroProfile (and a custom integration-testing layer) runs the app in Docker with WireMock for a mocked interest service and supports remote debugging; verdict: Testcontainers approach is most pragmatic for real-world stacks.
AI-written summary · about
chapters (6)
- 0:00Introduction to Jakarta EE testing
- 10:43Weld JUnit extension demo
- 23:37Arquillian framework overview
- 32:35Testcontainers integration testing
- 40:26Custom integration testing framework
- 50:03Q&A and closing remarks
related talks
34mDavid Matejcek: Testing Jakarta EE Applications with Eclipse GlassFish
39mEasy Java Integrations Testing with Testcontainers
47mMicroservices Testing with Java
01h 20mIntegration Testing from the Trenches
02h 36mTesting Java Microservice
45mEverything YOU need to Know About Jakarta EE 10
55mModern and Lightweight Cloud Application Development with Jakarta EE10
50mJakarta EE 10: Modern & Lightweight Cloud Application Development
