Micronaut Testing: Tips and Tricks

In this half-day workshop, students learn how to test Micronaut applications and deliver more robust and stable products.

Overview

Functional tests, which test the real application, run in milliseconds, thanks to Micronaut's compile-time dependency injection and AOP. This allows Micronaut developers to more easily build robust and stable applications. This course demonstrates how easy it is to test microservice applications using Micronaut's built-in tools.

Through real-world examples and hands-on exercises, students have the opportunity to explore multiple testing practices within Micronaut applications, including API testing, bean replacement, security testing, and more.

Prerequisites

To get the most out of this workshop, we recommend participants have beginner to intermediate proficiency with Java and an understanding of how web applications work in general.

Experience with Micronaut is a plus, but no particular expertise with the framework is required.

Duration & Format

1 day (3 hours)

Schedule a custom offering of this workshop at your location, online, or in our Midwest training lab (12140 Woodcrest Executive Drive; St. Louis, MO. 63141).

Outline

The following topics are covered in this workshop:

  • Test environment
  • ApplicationContext
  • EmbeddedServer
  • Testing endpoints with Micronaut HTTP Client
  • Create and organize beans in your Test Classpath
  • Data validation
  • @Clients Fallbacks
  • Test-specific configuration
  • Testing functions
  • Testing frameworks
    • Spock
    • JUnit
    • Spek
  • Micronaut Testing framework

Intended Audience

This workshop is designed to prepare Micronaut developers to maximize their productivity by providing a thorough introduction to the framework's testing capabilities.

Professional Training for Modern Technology Teams

Sign up today for open enrollment technology training.

Open Enrollment Courses

Open enrollment courses are a great, cost-effective option for organizations that have an immediate need to train a small number of employees.

View Course Schedule

Customized technology training designed to meet your team's specific needs

Customized Training Programs

Customized training programs can be delivered on-site, in our training lab, or online to help organizations enhance the skills of their internal development teams.

Request More Information

secret