create-codeql-query-unit-test-java
OfficialAutomate Java CodeQL unit tests end-to-end.
Authoradvanced-security
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Create comprehensive, reliable unit tests for Java CodeQL queries, reducing manual effort and ensuring broad coverage across codebases and Java features.
Core Features & Use Cases
- Scaffolds a complete Java CodeQL test suite including test directories, {QueryName}.qlref references, Example*.java files, and corresponding .expected outputs in a standardized layout.
- Provides templates and patterns for positive, negative, and edge-case test cases, including common Java frameworks and language features.
- Integrates with the MCP Server tooling to extract test databases, run tests, and validate results in a repeatable, auditable process.
Quick Start
Create a new Java query, place it in your query pack, and run the MCP Server test-scaffolding workflow to generate the test structure and baseline artifacts.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: create-codeql-query-unit-test-java Download link: https://github.com/advanced-security/codeql-development-mcp-server/archive/main.zip#create-codeql-query-unit-test-java Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.