- Test your microservices effortlessly with Micronaut Test Resources
HE2B - ESI - Ecole Supérieure d'Informatique
We have a nice gift for you to wrap this year properly, a great session by Cédric Champeau on Micronaut! 🎉
Micronaut is a modern, JVM-based, full-stack framework for building microservices or serverless applications easily.
Because of its emphasis on ahead-of-time compilation, it integrates particularly well with GraalVM, pushing the limits of what can be done with the Java language.
However, modern application development also means multiple integrations that are sometimes difficult to configure. For example, your application may need a database, a Kafka server, an MQTT broker or other. Micronaut Test Resources greatly simplifies the development of such applications: without any configuration, it is able to start test containers during development or testing, greatly reducing the effort needed to achieve excellent developer productivity.
In this session, we will show the basics of a Micronaut application and how it integrates, in particular, with build tools and Testcontainers.
Micronaut Test Resources is also an extensible framework, making it relatively easy to add your own test resources: it is for example possible to expose a Docker container with a few lines of configuration. As a last resort, it is always possible to implement your own test resources.
Finally, it is interesting to know that Micronaut Test Resources is designed so that test resources can be shared between different projects, even if they use different build tools! As an added bonus, we will show how native images can benefit from this mechanism.
About the Speaker:
Cédric Champeau works for Oracle Labs, in the GraalVM team and in particular on the Micronaut framework. He is specialized in developer productivity and maintains among others the official GraalVM and Micronaut plugins for Gradle and Maven.
He has worked for Gradle Inc. for several years on dependency management and other developer productivity issues.
A former contributor to the Groovy language, he implemented its static compiler.
Outside of computing, Cédric is an astronomy enthusiast.