Skip to main content
narendragandhi
Community Advisor
Community Advisor
October 6, 2026

AEM Junit Skill

  • October 6, 2026
  • 0 replies
  • 10 views

[OVERVIEW]
I have created a skill for creating Junit tests in AEM.

[IMPACT]
This should help to generate the good quality junit tests that are referenced from the official Adobe sources and the open source projects such as WCM.io.

[LESSONS]
The skill creator within Codex has been great at pointing the issues and best practices. Originally I had built this using Claude Code and has revamped it based on the feedback from Codex.

[TRYABLE]
```bash
# Show help
npx aem-junit-skill help

# Show full guide
npx aem-junit-skill guide

# Get Maven dependencies
npx aem-junit-skill deps

# Generate test template
npx aem-junit-skill template model
npx aem-junit-skill template service
npx aem-junit-skill template component
npx aem-junit-skill template servlet
```

[SETUP]
This can be installed in Codex, Claude or Github Copilot.

[SAMPLE_OUTPUT]
https://github.com/narendragandhi/aem-junit-skill