~/talk

Building and Testing Applications With Micronaut and Testcontainers in IntelliJ IDEA

Talkat IntelliJ IDEA Conf 2024 · 2024-03-06..03-07· [java, testing]
slides:none on file

Shows Micronaut project generation inside IntelliJ, wiring Micronaut + Testcontainers so a MySQL Testcontainer starts for runs and JUnit5 integration tests, and demonstrates a persistent test resources service that keeps containers alive so repeated tests run instantly. Builds a CRUD repo, DTO-backed queries that compile to optimized SELECTs, and live SQL/bean/endpoint tooling in the IDE. Compiles to a native image with ~101 ms startup and ~20 MB resident memory, runs native JUnit tests successfully.

AI-written summary · about

  1. 0:00Micronaut and Testcontainers intro
  2. 3:59Micronaut project in IntelliJ
  3. 7:41Optimizing test execution
  4. 10:36Hello World with Micronaut
  5. 15:39Efficient Micronaut testing
  6. 17:51Dependency injection in Micronaut
  7. 20:23Micronaut Data JDBC
  8. 28:21REST APIs for database ops
  9. 35:18Debugging SQL queries
  10. 36:21Inspecting Micronaut beans
  11. 37:48JSON serialization in Micronaut
  12. 41:48GraalVM native images
  13. 45:01Native tests with Testcontainers
  14. 46:27Scheduling jobs in Micronaut
  15. 51:23Summary and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.