{"id":"c5cf9d36-defb-43a2-b7c2-4e090876a714","shortId":"U93F2N","kind":"skill","title":"130-java-testing-strategies","tagline":"Use when you need to apply testing strategies for Java code — RIGHT-BICEP to guide test creation, A-TRIP for test quality characteristics, or CORRECT for verifying boundary conditions. This should trigger for requests such as Review Java code for testing strategies; Apply RIGHT-B","description":"# Java testing strategies\n\nApply proven testing strategies (RIGHT-BICEP, A-TRIP, CORRECT) to design and verify Java unit tests.\n\n**What is covered in this Skill?**\n\n- **RIGHT-BICEP**: Key questions to guide test creation — Right results, Boundary conditions, Inverse relationships, Cross-checks, Error conditions, Performance\n- **A-TRIP**: Characteristics of good tests — Automatic, Thorough, Repeatable, Independent, Professional\n- **CORRECT**: Boundary condition verification — Conformance, Ordering, Range, Reference, Existence, Cardinality, Time\n\n\n## Constraints\n\nBefore applying any test strategy changes, ensure the project compiles. If compilation fails, stop immediately — do not proceed until resolved. After applying improvements, run full verification.\n\n- **MANDATORY**: Run `./mvnw compile` or `mvn compile` before applying any change\n- **SAFETY**: If compilation fails, stop immediately and do not proceed — compilation failure is a blocking condition\n- **VERIFY**: Run `./mvnw clean verify` or `mvn clean verify` after applying improvements\n- **BEFORE APPLYING**: Read the reference for detailed examples, good/bad patterns, and constraints\n- **EDGE CASE**: If the user goal is ambiguous, stop and ask a clarifying question before editing files or running project-wide commands\n- **EDGE CASE**: If required context, files, credentials, or tools are missing, report the blocker explicitly and ask whether to proceed with setup or fallback guidance\n- **EDGE CASE**: If requested changes conflict with project constraints or safety boundaries, explain the conflict and ask for user confirmation on the preferred trade-off\n\n## When to use this skill\n\n- Review Java code for testing strategies\n- Apply RIGHT-BICEP testing strategies in Java code\n- Apply A-TRIP testing strategies in Java code\n- Apply CORRECT boundary condition verification in Java code\n\n## Workflow\n\n1. **Compile project before test-strategy changes**\n\nRun `./mvnw compile` or `mvn compile` and stop immediately if compilation fails.\n\n2. **Read testing-strategies reference**\n\nRead `references/130-java-testing-strategies.md` and map current tests to RIGHT-BICEP, A-TRIP, and CORRECT gaps.\n\n3. **Apply strategy-driven test improvements**\n\nImprove or add tests to cover missing boundaries, quality characteristics, and verification depth.\n\n4. **Verify with full build**\n\nRun `./mvnw clean verify` or `mvn clean verify` after applying improvements.\n\n## Reference\n\nFor detailed guidance, examples, and constraints, see [references/130-java-testing-strategies.md](references/130-java-testing-strategies.md).","tags":["130","java","testing","strategies","cursor","rules","jabrena","agent-skills","ai-skills","claude","claude-code","claude-code-skills"],"capabilities":["skill","source-jabrena","skill-130-java-testing-strategies","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/130-java-testing-strategies","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,580 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-26T18:53:41.248Z","embedding":null,"createdAt":"2026-04-18T22:01:59.498Z","updatedAt":"2026-04-26T18:53:41.248Z","lastSeenAt":"2026-04-26T18:53:41.248Z","tsv":"'/mvnw':154,181,324,383 '1':315 '130':1 '2':335 '3':357 '4':377 'a-trip':24,64,102,298,351 'add':366 'ambigu':210 'appli':11,50,57,127,147,160,189,192,288,297,306,358,391 'ask':213,242,267 'automat':109 'b':53 'bicep':19,63,83,291,350 'block':177 'blocker':239 'boundari':35,92,115,262,308,371 'build':381 'cardin':123 'case':204,227,252 'chang':131,162,255,322 'characterist':30,105,373 'check':98 'clarifi':215 'clean':182,186,384,388 'code':16,46,284,296,305,313 'command':225 'compil':135,137,155,158,165,173,316,325,328,333 'condit':36,93,100,116,178,309 'confirm':270 'conflict':256,265 'conform':118 'constraint':125,202,259,399 'context':230 'correct':32,67,114,307,355 'cover':77,369 'creation':23,89 'credenti':232 'cross':97 'cross-check':96 'current':345 'depth':376 'design':69 'detail':197,395 'driven':361 'edg':203,226,251 'edit':218 'ensur':132 'error':99 'exampl':198,397 'exist':122 'explain':263 'explicit':240 'fail':138,166,334 'failur':174 'fallback':249 'file':219,231 'full':150,380 'gap':356 'goal':208 'good':107 'good/bad':199 'guid':21,87 'guidanc':250,396 'immedi':140,168,331 'improv':148,190,363,364,392 'independ':112 'invers':94 'java':3,15,45,54,72,283,295,304,312 'java-testing-strategi':2 'key':84 'mandatori':152 'map':344 'miss':236,370 'mvn':157,185,327,387 'need':9 'order':119 'pattern':200 'perform':101 'prefer':273 'proceed':143,172,245 'profession':113 'project':134,223,258,317 'project-wid':222 'proven':58 'qualiti':29,372 'question':85,216 'rang':120 'read':193,336,341 'refer':121,195,340,393 'references/130-java-testing-strategies.md':342,401,402 'relationship':95 'repeat':111 'report':237 'request':41,254 'requir':229 'resolv':145 'result':91 'review':44,282 'right':18,52,62,82,90,290,349 'right-b':51 'right-bicep':17,61,81,289,348 'run':149,153,180,221,323,382 'safeti':163,261 'see':400 'setup':247 'skill':80,281 'skill-130-java-testing-strategies' 'source-jabrena' 'stop':139,167,211,330 'strategi':5,13,49,56,60,130,287,293,302,321,339,360 'strategy-driven':359 'test':4,12,22,28,48,55,59,74,88,108,129,286,292,301,320,338,346,362,367 'test-strategi':319 'testing-strategi':337 'thorough':110 'time':124 'tool':234 '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' 'trade':275 'trade-off':274 'trigger':39 'trip':26,66,104,300,353 'unit':73 'use':6,279 'user':207,269 'verif':117,151,310,375 'verifi':34,71,179,183,187,378,385,389 'whether':243 'wide':224 'workflow':314","prices":[{"id":"d491b4e1-f773-4720-bc3b-9d1f7d23e6db","listingId":"c5cf9d36-defb-43a2-b7c2-4e090876a714","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:01:59.498Z"}],"sources":[{"listingId":"c5cf9d36-defb-43a2-b7c2-4e090876a714","source":"github","sourceId":"jabrena/cursor-rules-java/130-java-testing-strategies","sourceUrl":"https://github.com/jabrena/cursor-rules-java/tree/main/skills/130-java-testing-strategies","isPrimary":false,"firstSeenAt":"2026-04-18T22:01:59.498Z","lastSeenAt":"2026-04-26T18:53:41.248Z"}],"details":{"listingId":"c5cf9d36-defb-43a2-b7c2-4e090876a714","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"jabrena","slug":"130-java-testing-strategies","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-26T13:48:39Z","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":"b4049f75444c419a5843be941e4b0ce7023b7ad9","skill_md_path":"skills/130-java-testing-strategies/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/jabrena/cursor-rules-java/tree/main/skills/130-java-testing-strategies"},"layout":"multi","source":"github","category":"cursor-rules-java","frontmatter":{"name":"130-java-testing-strategies","license":"Apache-2.0","description":"Use when you need to apply testing strategies for Java code — RIGHT-BICEP to guide test creation, A-TRIP for test quality characteristics, or CORRECT for verifying boundary conditions. This should trigger for requests such as Review Java code for testing strategies; Apply RIGHT-BICEP testing strategies in Java code; Apply A-TRIP testing strategies in Java code; Apply CORRECT boundary condition verification in Java code. Part of cursor-rules-java project"},"skills_sh_url":"https://skills.sh/jabrena/cursor-rules-java/130-java-testing-strategies"},"updatedAt":"2026-04-26T18:53:41.248Z"}}