Secret weapon how to promote your YouTube channel
Get Free YouTube Subscribers, Views and Likes

Integration Tests with Keycloak u0026 Testcontainers (u0026 Quarkus) | Niko Köbler (@dasniko)

Follow
Niko Köbler (@dasniko) - Keycloak Expert

How to do proper unit and integration testing (and NOT integrated tests) of your Keycloak based application with the help of Testcontainers and the testcontainerskeycloak project.

0:00 Intro
0:25 Integrated Tests vs. Integration Tests
6:08 Testcontainers
7:42 TestcontainersKeycloak project
11:44 Simple JUnit example with a Keycloak Testcontainer
15:10 Testing a Quarkus (or Spring) app/service with a Keycloak Testcontainer (with application context!)
23:45 Conclusion

#Keycloak #Testcontainers #Quarkus

Links of all mentioned videos, projects and blog posts:

Testcontainers: https://www.testcontainers.org
TestcontainersKeycloak: https://github.com/dasniko/testcontai...
Video about Testcontainers with Kevin Wittek (  / kiview):      • Integration Testing with Docker and T...  
The used Quarkus application, secured with Keycloak:    • Quarkus & Keycloak Authentication  H...  
The GitHub repository to this service, including the testcontainerskeycloak tests: https://github.com/dasniko/quarkuske...
Blog post of J.B. Rainsberger Integrated Test are a Scam: https://blog.thecodewhisperer.com/per...
Blog post of Spotify about their testing: https://engineering.atspotify.com/201...
Quarkus tests with @QuarkusTestResource: https://quarkus.io/guides/gettingsta...
Spring (Boot) tests with @ContextConfiguration: https://docs.spring.io/springframewo... and https://docs.spring.io/springframewo...
Sponsor me: https://paypal.me/dasniko

Don't forget to subscribe to my channel (if not already done) and give this video some thumbs up (aka "like").
Tell me about your experiences and in the comments. I'm looking forward to it! Thank YOU!



I'm Niko and I'm an independant freelance software consultant, developer and trainer.
I'm here to help you, your team and your company.
How can I support you? Just get in contact:

Website: https://www.nk.de
Twitter:   / dasniko  
GitHub Profile: https://github.com/dasniko
YouTube Channel: https://www.youtube.com/c/NikoKöbler?...

All things Cloud ☁, Serverless, OnPremise, Java, JavaScript, AllEnd (Frontend, Backend, Fullstack Deployments), Authentication, Security , IAM, Keycloak, Containers, DevOps

Please understand that Youtube is not a good place to get support in case of errors. There are forums out there which are the right place to ask!

posted by sicsdofsfefi0