Java test architecture

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Java test architecture is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Use this skill when statically reviewing a JVM test suite's architecture for soundness and non-flakiness: JUnit 5 lifecycle and isolation (shared mutable static state, test-instance lifecycle, order dependence, time/locale/timezone dependence, and unguarded junit.jupiter.execution.parallel usage), T

How to use this skill

Skill file

java-test-architecture

Purpose

This skill statically reviews JVM test suite architecture for soundness and non-flakiness. A test suite is only sound if tests are isolated from each other (no shared mutable static state leaking across methods, no implicit order dependence), deterministic regardless of wall-clock time, locale, or timezone, safe to run in parallel only where resource contention is explicitly guarded, disciplined in how Testcontainers instances are shared or scoped and how they signal readiness, architecturally enforced via ArchUnit with a sane brownfield-adoption path, and verifying real behavior rather than accumulating assertion-free or over-mocked tests that inflate coverage without catching regressions. The review produces a severity-ranked, evidence-labelled finding list plus a root-cause classification for any reported flaky test.

Trigger conditions

When not to use

Lean operating rules

References

Load these only when needed:

Response minimum

Return, at minimum:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.