# Run the test suite and triage the failures in Quarkus with Atlas in 2026

> Quarkus developers in 2026 can use Atlas to quickly identify and prioritize distinct root causes from extensive JUnit 5 (@QuarkusTest) failure logs.

Atlas empowers Quarkus developers in 2026 to transform a deluge of red JUnit 5 (@QuarkusTest) output into a prioritized list of distinct root causes, leveraging its bash, read, grep, todowrite, and edit tools for efficient triage. This approach ensures that even complex build-time augmentation issues are systematically addressed.

## Key takeaways

- Atlas's `bash` tool runs `Maven` tests, handling large JUnit 5 (@QuarkusTest) output by saving full logs.
- Atlas `read` and `grep` enable precise root cause analysis on complete Quarkus test logs, bypassing terminal truncation.
- Atlas `todowrite` helps prioritize and track distinct Quarkus failure fixes, ensuring systematic resolution.
- Atlas `edit` and targeted `bash` runs facilitate rapid, iterative debugging of JUnit 5 (@QuarkusTest) cases.
- Atlas ensures safe Quarkus code modifications with permission-gated tools, plan review, and unified diff approval.
- Atlas integrates with `Spotless` for consistent code formatting in your Quarkus `pom.xml` project.

## How to run Quarkus JUnit 5 (@QuarkusTest) suites with Atlas

Running your full JUnit 5 (@QuarkusTest) suite in Quarkus with Atlas is straightforward in 2026, using the bash tool to execute Maven commands. Atlas ensures that even if your test output exceeds 2000 lines or 50 KB, the complete log is always saved for thorough review.

To initiate your Quarkus test suite, you simply instruct Atlas to run the standard Maven command. For example, `atlas bash "./mvnw test -DfailIfNoTests=false -Dmaven.test.failure.ignore=true --timeout 300000"` will execute all JUnit 5 (@QuarkusTest) cases. The `--timeout 300000` (300,000 milliseconds or 5 minutes) is crucial to prevent Atlas from prematurely killing a slow-running suite. Atlas's bash tool is designed to handle the verbose output common in large test runs. While it truncates terminal output at 2000 lines or 50 KB to maintain readability, it always writes the complete, untruncated log to a retained file. This file's path is provided in the terminal, ensuring you never miss critical details, especially when dealing with complex build-time augmentation failures specific to Quarkus.

## Analyzing full Quarkus test logs for root causes with Atlas read and grep

After running your JUnit 5 (@QuarkusTest) suite, Atlas's read and grep tools become indispensable for analyzing the complete log, especially when the terminal output was truncated beyond 2000 lines. This allows Quarkus developers to group failures by distinct root causes, a more effective strategy than simply listing failing tests.

When your JUnit 5 (@QuarkusTest) output is extensive, Atlas's bash tool will indicate that the output was truncated and provide the path to the full log file. To access this complete log, use `atlas read <path/to/full/log>`. Once you have the full log, the next step is to identify distinct root causes. Instead of focusing on individual test names, which can often be symptoms of a deeper issue, Atlas encourages grouping failures by their underlying cause. You can achieve this with `atlas grep "ERROR|FAILURE" <path/to/full/log>`. By refining your `grep` patterns, you can quickly identify common exceptions, misconfigurations in `application.properties`, or build-time augmentation issues that manifest across multiple tests. This method is particularly powerful in Quarkus, where a single underlying problem can lead to a cascade of test failures.

## Prioritizing distinct Quarkus test failures with Atlas todowrite

Once you've identified distinct root causes from your JUnit 5 (@QuarkusTest) logs, Atlas's todowrite tool helps you create a prioritized, actionable list of fixes. This ensures that each unique problem is tracked and addressed systematically, preventing any of the 5-8 identified causes from being overlooked.

The goal of triaging is to turn a wall of red output into a manageable list of distinct problems. For each unique root cause identified using `grep`, you should create a `todowrite` entry. For example, `atlas todowrite "Fix native-image reflection issue in MyService" --status pending` creates a trackable item. This approach is crucial for Quarkus projects, where issues like incorrect build-time augmentation or native-image constraints can affect many tests. By focusing on the root cause, you ensure that a single fix resolves multiple failures. The `pending` status allows you to manage your workload, moving through the list one item at a time and marking them complete as you go. This structured approach prevents fixes from being forgotten and provides a clear path to a green test suite.

## Iterative fixing of Quarkus tests with Atlas edit and bash

Fixing Quarkus test failures becomes an efficient, iterative process in 2026 with Atlas's edit tool for code changes and bash for targeted test re-runs. This workflow allows developers to address one distinct root cause at a time, quickly validating fixes without running the entire JUnit 5 (@QuarkusTest) suite repeatedly.

With your prioritized `todowrite` list, you can tackle fixes one by one. Use `atlas edit <path/to/source/file.java>` to open and modify the relevant Quarkus source code, such as a CDI bean or a JAX-RS resource. After making a change, instead of re-running the entire Maven test suite, you can target only the affected JUnit 5 (@QuarkusTest) cases. For instance, `atlas bash "./mvnw test -Dtest=MyFailingTest"` will execute only `MyFailingTest`, significantly reducing feedback loop time. This is especially valuable in Quarkus, where full builds can be lengthy. Once the test passes, Atlas can help you review the changes with `atlas diff` and, as part of the documented setup, apply `Spotless` formatting before committing, ensuring code quality and consistency across your `pom.xml` managed project.

## Ensuring safety and review in Quarkus development with Atlas

Atlas integrates robust safety and review mechanisms into your Quarkus development workflow, ensuring that every change, from fixing a JUnit 5 (@QuarkusTest) to modifying application.properties, is permission-gated and transparent. In 2026, this means developers maintain full control over their codebase.

Atlas is built with developer control at its core. Every tool call, including `bash`, `read`, `grep`, `todowrite`, and `edit`, is permission-gated against `allow`, `ask`, and `deny` rules, giving you explicit control over what Atlas can execute. Before making any modifications, Atlas drafts a plan in a read-only plan agent, which you review and approve. When Atlas proposes file edits, it computes a unified diff for every change and surfaces it for your approval before writing. This is critical for Quarkus projects, where build-time augmentation and native-image constraints mean even small changes can have significant impacts. Furthermore, Atlas reads `git` branches and status, can stage and create commits, and snapshots file changes as `git` patches, allowing for easy diffing and rolling back of edits, providing a secure and auditable development experience.

## Steps

1. Initialize Atlas in your Quarkus project by ensuring a `pom.xml` that pulls in `quarkus-bom` is present, allowing Atlas to read your CDI beans, JAX-RS resources, and `application.properties`.
2. Run the full JUnit 5 (@QuarkusTest) suite using `atlas bash "./mvnw test -DfailIfNoTests=false -Dmaven.test.failure.ignore=true --timeout 300000"` to execute all tests with a generous 5-minute timeout.
3. If the terminal output indicates truncation (e.g., over 2000 lines), use `atlas read <path/to/full/log>` to access the complete Maven test log file.
4. Group failures by distinct root cause using `atlas grep "ERROR|FAILURE|Exception" <path/to/full/log>` over the saved log, refining patterns to identify common Quarkus-specific issues.
5. Create a `todowrite` entry for each distinct root cause identified: `atlas todowrite "Fix [Specific Quarkus Root Cause, e.g., CDI injection issue]" --status pending`.
6. Use `atlas edit <path/to/source/file.java>` to modify the relevant Quarkus code, addressing the first pending `todowrite` item.
7. Re-run only the affected JUnit 5 (@QuarkusTest) with `atlas bash "./mvnw test -Dtest=MyFailingTest#myFailingMethod"` to quickly validate your fix.
8. Review the `atlas diff` for the proposed changes and approve them. Let Atlas apply `Spotless` formatting before it commits the changes to your Maven project.
9. Mark the `todowrite` item as complete and proceed to the next distinct root cause until all failures are resolved.

## FAQ

### How do I run JUnit 5 (@QuarkusTest) with Atlas?

Use `atlas bash "./mvnw test"` to execute your JUnit 5 (@QuarkusTest) suite. Atlas handles extensive output by saving the complete log to a file, providing the path for full review.

### Can Atlas help me find the root cause of a QuarkusTest failure?

Yes, after running tests with `atlas bash`, use `atlas read` to view the complete log and `atlas grep` to identify recurring error patterns. This helps pinpoint distinct root causes, such as build-time augmentation issues, rather than just individual test failures.

### How does Atlas handle large Maven test output in Quarkus?

Atlas's `bash` tool truncates terminal output at 2000 lines or 50 KB for readability, but it always writes the complete Maven test log to a retained file, providing the path for full review with `atlas read`.

### What Atlas tools are used for triaging Quarkus test failures?

For Quarkus test triage, Atlas utilizes `bash` to run tests, `read` to access full logs, `grep` to group failures by root cause, `todowrite` to prioritize fixes, and `edit` for code modifications.

### Does Atlas integrate with Spotless for Quarkus code formatting?

Yes, as part of its documented setup, Atlas can apply `Spotless` formatting to your Quarkus codebase before committing changes, ensuring consistent code style across your `pom.xml` managed project.

### How does Atlas ensure safety when modifying Quarkus code?

Atlas employs permission-gated tool calls, drafts plans in a read-only agent, and computes a unified diff for every file edit, requiring your approval before writing any changes to your Quarkus project, safeguarding against unintended modifications.

### Can Atlas help with application.properties configuration issues in Quarkus tests?

Yes, Atlas can read your `application.properties` and, combined with `grep` analysis of test logs, help identify configuration-related root causes. Its `edit` tool can then be used to modify these properties directly.

### How does Atlas support native-image constraints in Quarkus development?

Atlas is aware of Quarkus's build-time augmentation and native-image constraints. It can be asked to replace runtime reflection with build-time-friendly patterns, ensuring your code survives native-image compilation, and its tools help triage related test failures.

---

Canonical HTML: https://runatlas.sh/resources/stacks/run-the-test-suite-and-triage-failures-in-quarkus
Source of truth: aeo_pages row `/resources/stacks/run-the-test-suite-and-triage-failures-in-quarkus` (segment: Stacks) (this file is generated from it, never hand-edited).
Licence: Atlas is proprietary with a free core. It is not open source and there is no public source repository.
