quarkus-native-test

Execute Quarkus native image tests with Mandrel builder images.

7|6|Updated Mar 23, 2021
One-click install
npx skills add https://github.com/quarkiverse/quarkus-hivemq-client --skill quarkus-native-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quarkus-native-test
Source: https://github.com/quarkiverse/quarkus-hivemq-client/tree/main/.claude/skills/quarkus-native-test
Command: npx skills add https://github.com/quarkiverse/quarkus-hivemq-client --skill quarkus-native-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the complex, time-consuming, and error-prone manual process of validating Quarkus applications in native mode. It automates native image compilation and testing, ensuring your applications are optimized for performance and fully compatible with GraalVM/Mandrel.

Core Features & Use Cases

  • Automated Native Compilation: Compiles Quarkus applications into highly optimized native executables using GraalVM/Mandrel.
  • GraalVM Compatibility Validation: Verifies reflection, resource loading, and static analysis constraints specific to native images.
  • Performance & Memory Footprint Checks: Confirms fast startup times and low memory usage, critical for cloud-native deployments.
  • Use Case: Before deploying a Quarkus microservice to production, use this skill to automatically run comprehensive native tests, ensuring it's optimized for performance and fully compatible with the native environment, saving you hours of manual validation.

Quick Start

Execute native tests for your Quarkus project

./mvnw -V -B -am clean verify -Dnative -Dquarkus.native.builder-image=quay.io/quarkus/ubi9-quarkus-mandrel-builder-image:jdk-21

Frequently Asked Questions about quarkus-native-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate testing for Quarkus native images?

Automate Quarkus native image testing by executing GraalVM/Mandrel-based compilation and validation in a containerized environment. This skill handles pre-execution checks for Docker/Podman availability, manages memory and CPU thresholds, builds native images using Mandrel builder images, monitors progress, and generates performance reports—eliminating manual validation before production deployment.

Can I validate GraalVM reflection and resource handling in native Quarkus builds?

Yes. This skill verifies GraalVM-specific constraints including reflection configuration, resource loading, and static analysis requirements critical to native compilation. It runs comprehensive native tests to confirm your Quarkus application is fully compatible with native mode before deployment.

What environment do I need to run Quarkus native tests?

You need Docker or Podman installed, sufficient memory and CPU resources, and Maven with Quarkus configured. The skill validates these prerequisites automatically, then executes native compilation using the Mandrel builder image, handling all container-based build orchestration and monitoring.

How do I verify performance and memory footprint in native Quarkus deployments?

Use native image testing to confirm fast startup times and low memory usage—critical metrics for cloud-native applications. This skill executes native tests, captures performance metrics, and generates reports validating your Quarkus microservice meets optimization requirements before production rollout.

Does this work with Mandrel and GraalVM for CI/CD pipelines?

Yes. The skill automates native compilation and testing for both Mandrel and GraalVM in containerized environments, making it ideal for CI/CD integration. It provides phase-by-phase progress monitoring and native-specific error handling to catch compatibility issues early in your deployment pipeline.

What happens if native compilation fails or detects compatibility issues?

The skill implements native-specific error handling to identify and report reflection, resource, or static analysis violations that prevent successful native compilation. Detailed error reports help you resolve GraalVM compatibility issues before production, avoiding costly deployment failures.