{"id":"22a78347-c1ed-4a14-9b24-5c70736abebc","shortId":"BfpLCy","kind":"skill","title":"523-frameworks-micronaut-testing-acceptance-tests","tagline":"Use when you need to implement acceptance tests from a Gherkin .feature file for Micronaut applications — @acceptance scenarios, @MicronautTest, HttpClient, BaseAcceptanceTest with TestPropertyProvider for Testcontainers and WireMock, *AT suffix, Failsafe. Requires the .feature f","description":"# Micronaut acceptance tests from Gherkin\n\nImplement happy-path acceptance tests from Gherkin for Micronaut using real HTTP and infrastructure.\n\n**What is covered in this Skill?**\n\n- Preconditions: .feature file in context; Micronaut project confirmed\n- Parsing scenarios tagged @acceptance / @acceptance-tests\n- BaseAcceptanceTest: @MicronautTest, random port, @Client(/) HttpClient, TestPropertyProvider merging DB + WireMock URLs\n- wireMock.resetAll() in @BeforeEach when sharing context\n- Concrete *AT classes: Given/When/Then → setup, HttpClient exchange, AssertJ assertions\n- Maven three-tier split: *Test → Surefire, *IT + *AT → Failsafe\n- Happy-path scope by default\n\n**Scope:** Apply recommendations based on the reference rules and step workflow.\n\n## Constraints\n\nDo not generate without a .feature file; compile before and verify after.\n\n- **PRECONDITION**: Gherkin `.feature` file must be in context — stop and ask if not provided\n- **PRECONDITION**: The project must use Micronaut — direct the user to @133, @323, or @423 otherwise\n- **MANDATORY**: Run `./mvnw compile` or `mvn compile` before applying any change\n- **VERIFY**: Run `./mvnw clean verify` or `mvn clean verify` after applying improvements\n- **BEFORE APPLYING**: Read the reference for detailed steps and safeguards\n\n## When to use this skill\n\n- Implement Micronaut acceptance tests from a Gherkin feature file\n- Set up BaseAcceptanceTest with Testcontainers and WireMock for Micronaut\n\n## Workflow\n\n1. **Read reference and assess project context**\n\nRead `references/523-frameworks-micronaut-testing-acceptance-tests.md` and inspect the current project setup before proposing changes.\n\n2. **Gather scope and decide target improvements**\n\nIdentify requested outcomes, constraints, and the minimum safe set of changes to apply.\n\n3. **Apply framework-aligned changes**\n\nImplement or refactor configuration/code following the reference patterns and project conventions.\n\n4. **Run verification and report results**\n\nExecute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.\n\n## Reference\n\nFor detailed guidance, examples, and constraints, see [references/523-frameworks-micronaut-testing-acceptance-tests.md](references/523-frameworks-micronaut-testing-acceptance-tests.md).","tags":["523","frameworks","micronaut","testing","acceptance","tests","cursor","rules","java","jabrena","agent-skills","ai-skills"],"capabilities":["skill","source-jabrena","skill-523-frameworks-micronaut-testing-acceptance-tests","topic-agent-skills","topic-ai-skills","topic-claude","topic-claude-code","topic-claude-code-skills","topic-claude-code-subagents","topic-claude-skills","topic-cursor-agent","topic-cursor-ai","topic-cursor-skills","topic-cursorai","topic-github-copilot"],"categories":["cursor-rules-java"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/jabrena/cursor-rules-java/523-frameworks-micronaut-testing-acceptance-tests","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add jabrena/cursor-rules-java","source_repo":"https://github.com/jabrena/cursor-rules-java","install_from":"skills.sh"}},"qualityScore":"0.631","qualityRationale":"deterministic score 0.63 from registry signals: · indexed on github topic:agent-skills · 362 github stars · SKILL.md body (2,294 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-26T12:53:39.468Z","embedding":null,"createdAt":"2026-04-18T22:02:29.616Z","updatedAt":"2026-04-26T12:53:39.468Z","lastSeenAt":"2026-04-26T12:53:39.468Z","tsv":"'/mvnw':180,191 '1':235 '133':173 '2':253 '3':273 '323':174 '4':290 '423':176 '523':1 'accept':6,14,24,43,51,79,81,218 'acceptance-test':80 'action':311 'align':277 'appli':126,186,199,202,272,274 'applic':23 'appropri':297 'ask':159 'assert':108 'assertj':107 'assess':239 'base':128 'baseacceptancetest':28,83,227 'beforeeach':96 'build/tests':298 'chang':188,252,270,278,302 'class':102 'clean':192,196 'client':87 'compil':144,181,184 'concret':100 'configuration/code':282 'confirm':75 'constraint':136,263,318 'context':72,99,156,241 'convent':289 'cover':64 'current':247 'db':91 'decid':257 'default':124 'detail':207,314 'direct':169 'exampl':316 'exchang':106 'execut':296 'f':41 'failsaf':37,118 'featur':19,40,69,142,151,223 'file':20,70,143,152,224 'follow':283,309 'follow-up':308 'framework':3,276 'framework-align':275 'frameworks-micronaut-testing-acceptance-test':2 'gather':254 'generat':139 'gherkin':18,46,54,150,222 'given/when/then':103 'guidanc':315 'happi':49,120 'happy-path':48,119 'http':59 'httpclient':27,88,105 'identifi':260 'implement':13,47,216,279 'improv':200,259 'infrastructur':61 'inspect':245 'mandatori':178 'maven':109 'merg':90 'micronaut':4,22,42,56,73,168,217,233 'micronauttest':26,84 'minimum':266 'must':153,166 'mvn':183,195 'need':11 'otherwis':177 'outcom':262 'pars':76 'path':50,121 'pattern':286 'port':86 'precondit':68,149,163 'project':74,165,240,248,288 'propos':251 'provid':162 'random':85 'read':203,236,242 'real':58 'recommend':127 'refactor':281 'refer':131,205,237,285,312 'references/523-frameworks-micronaut-testing-acceptance-tests.md':243,320,321 'report':294 'request':261 'requir':38 'result':295 'rule':132 'run':179,190,291 'safe':267 'safeguard':210 'scenario':25,77 'scope':122,125,255 'see':319 'set':225,268 'setup':104,249 'share':98 'skill':67,215 'skill-523-frameworks-micronaut-testing-acceptance-tests' 'source-jabrena' 'split':113 'step':134,208 'stop':157 'suffix':36 'summar':300 'surefir':115 'tag':78 'target':258 'test':5,7,15,44,52,82,114,219 'testcontain':32,229 'testpropertyprovid':30,89 'three':111 'three-tier':110 'tier':112 'topic-agent-skills' 'topic-ai-skills' 'topic-claude' 'topic-claude-code' 'topic-claude-code-skills' 'topic-claude-code-subagents' 'topic-claude-skills' 'topic-cursor-agent' 'topic-cursor-ai' 'topic-cursor-skills' 'topic-cursorai' 'topic-github-copilot' 'url':93 'use':8,57,167,213 'user':171 'verif':292 'verifi':147,189,193,197,305 'wiremock':34,92,231 'wiremock.resetall':94 'without':140 'workflow':135,234","prices":[{"id":"d9ebb6b6-aff9-4617-b964-df49bd6de19e","listingId":"22a78347-c1ed-4a14-9b24-5c70736abebc","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"jabrena","category":"cursor-rules-java","install_from":"skills.sh"},"createdAt":"2026-04-18T22:02:29.616Z"}],"sources":[{"listingId":"22a78347-c1ed-4a14-9b24-5c70736abebc","source":"github","sourceId":"jabrena/cursor-rules-java/523-frameworks-micronaut-testing-acceptance-tests","sourceUrl":"https://github.com/jabrena/cursor-rules-java/tree/main/skills/523-frameworks-micronaut-testing-acceptance-tests","isPrimary":false,"firstSeenAt":"2026-04-18T22:02:29.616Z","lastSeenAt":"2026-04-26T12:53:39.468Z"}],"details":{"listingId":"22a78347-c1ed-4a14-9b24-5c70736abebc","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"jabrena","slug":"523-frameworks-micronaut-testing-acceptance-tests","github":{"repo":"jabrena/cursor-rules-java","stars":362,"topics":["agent-skills","ai-skills","claude","claude-code","claude-code-skills","claude-code-subagents","claude-skills","cursor-agent","cursor-ai","cursor-skills","cursorai","github-copilot","intellij-idea","java","prompting","system-prompts"],"license":"apache-2.0","html_url":"https://github.com/jabrena/cursor-rules-java","pushed_at":"2026-04-26T12:50:01Z","description":"A curated and opinionated collection of Skills and Agents to be used in modern SDLC workflows for Java Enterprise development with your favorite AI Agent harness.","skill_md_sha":"be18faaf1a42ffaee99b6600fffbedafc0940e46","skill_md_path":"skills/523-frameworks-micronaut-testing-acceptance-tests/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/jabrena/cursor-rules-java/tree/main/skills/523-frameworks-micronaut-testing-acceptance-tests"},"layout":"multi","source":"github","category":"cursor-rules-java","frontmatter":{"name":"523-frameworks-micronaut-testing-acceptance-tests","license":"Apache-2.0","description":"Use when you need to implement acceptance tests from a Gherkin .feature file for Micronaut applications — @acceptance scenarios, @MicronautTest, HttpClient, BaseAcceptanceTest with TestPropertyProvider for Testcontainers and WireMock, *AT suffix, Failsafe. Requires the .feature file in context. This should trigger for requests such as Implement Micronaut acceptance tests from a Gherkin feature file; Set up BaseAcceptanceTest with Testcontainers and WireMock for Micronaut. Part of cursor-rules-java project"},"skills_sh_url":"https://skills.sh/jabrena/cursor-rules-java/523-frameworks-micronaut-testing-acceptance-tests"},"updatedAt":"2026-04-26T12:53:39.468Z"}}