Repository navigation
test_plan_report
GitHub Action edited this page Oct 1, 2026
·
1 revision
iso_doc_type: "Report" iso_viewpoint: "QualityView" type: "quality" title: "Test Plan & Quality Report — Dark Gravity CA/CD Factory" description: "ISO 42010 QualityView / ISO 15289 Report documentation for Test Plan & Quality Report — Dark Gravity CA/CD Factory." tags: ['iso42010', 'okf', 'quality_view', 'iso25010', 'testing'] timestamp: "2026-10-01T14:00:00Z" generated: "agent:okf-professional-documenter" verified: "true" last_verified_commit: "fbdc5848"
Purpose: Formal test plan, test suite catalog, integration matrix, benchmark documentation, and SAST security gate report following ISO 25010 and ISO 29119 software quality assurance standards.
graph TB
E2E["E2E & Functional Suites<br/>run_functional_suite, gitlab_live_e2e"]
INT["Integration Test Suites<br/>Kafka, gVisor, GitLab, Bridge, R2R"]
SAST["SAST Security Gates<br/>AuditorAgent, Zeroize, Semgrep"]
BENCH["Performance Benchmarks<br/>Criterion: Crypto & Zeroize"]
UNIT["Unit Tests<br/>Per-crate #[test] modules"]
E2E --> INT
INT --> SAST
SAST --> BENCH
BENCH --> UNIT
style E2E fill:#9C27B0,stroke:#6A1B9A,color:#fff
style INT fill:#2196F3,stroke:#1565C0,color:#fff
style SAST fill:#f44336,stroke:#c62828,color:#fff
style BENCH fill:#FF9800,stroke:#E65100,color:#fff
style UNIT fill:#4CAF50,stroke:#2E7D32,color:#fff
The workspace contains dedicated integration tests validating end-to-end multi-agent orchestration, network boundary security, and third-party integrations:
| Crate | Test Suite File | Coverage Target | Key Scenarios Tested |
|---|---|---|---|
factory-application |
tests/functional_e2e_test.rs |
Full Factory Pipeline | End-to-end issue ingestion, task decomposition, and PR generation |
factory-application |
tests/hatchet_sdd_task_orchestration_test.rs |
Hatchet DAG Engine | Multi-step task dependency execution and state handoffs |
factory-application |
tests/bridge_test.rs |
ADK & Bridge State | Bidirectional event translation between ADK and Kafka |
factory-application |
tests/gitlab_e2e_integration_test.rs |
GitLab CI / Webhooks | MR creation, webhook parsing, pipeline verification |
factory-application |
tests/gitlab_live_e2e.rs |
Live GitLab API | Real API handshake, project permissions, and commit statuses |
factory-application |
tests/mr_command_dispatch_tests.rs |
Directives Engine |
@darkgravity /spec, /refine, /status, /validate
|
factory-application |
tests/mr_comment_conversation_tests.rs |
Conversational Threads | Multi-turn feedback loops on active MR discussions |
factory-application |
tests/workflow_tests.rs |
Workflows | Circuit breaker trips, remediation cascades |
factory-application |
tests/zeroclaw_sast_integration.rs |
Dev Agent SAST | Pre-commit security audits within the sandbox execution loop |
factory-core |
tests/security_tests.rs |
NHI Primitives | Ed25519 signature issuance, tampering detection, replay rejection |
factory-core |
tests/pr_directive_tests.rs |
Directive Parsing | Regex extraction and AST tokenization of comment directives |
factory-infrastructure |
tests/kafka_integration.rs |
KRaft Messaging | High-throughput partition consumer group failover |
factory-infrastructure |
tests/git_poller_reaction_tests.rs |
Poller Daemon | Issue label triggers (autonomous-mission, dark-gravity) |
factory-infrastructure |
tests/mr_reaction_tests.rs |
Merge Request Poller | Unhandled comment detection and state cursor updates |
factory-mcp-server |
tests/gvisor_integration.rs |
Sandbox Isolation |
runsc syscall filtration and container security boundaries |
factory-mcp-server |
tests/security_tests.rs |
MCP Server Endpoints | HMAC-SHA256 webhook authentication and Ziti zero-trust |
Criterion benchmark suites in factory-core/benches:
-
crypto_benchmark.rs:- Evaluates Ed25519 signing and verification throughput for Non-Human Identity (NHI) credentials.
- Target:
< 150 µsper credential verification under heavy load.
-
zeroize_benchmark.rs:- Assesses memory scrubbing speed for cryptographic secrets and sensitive tokens.
- Ensures zeroization does not cause pipeline latency bottlenecks.
# Execute Criterion benchmarks
cargo bench --package factory-core# 1. Run all unit and integration tests across the workspace
cargo test --workspace --all-targets
# 2. Run functional E2E test suite specifically
cargo run --bin run_functional_suite
# 3. Code coverage generation with llvm-cov
cargo llvm-cov --workspace --html --output-dir target/coverage
# 4. SAST and Lint verification
cargo clippy --workspace --all-targets -- -D warnings
cargo fmt --all -- --checkRelated: VERIFICATION-TRIAD.md · QAObserverAgent · HITL Governance
- Business Context
- Strategic Design
- Tactical Design
- Agent Specifications
- Runtime Sequences
- Infrastructure Adapters
- Mission Data Model
- lib.md
- gitlab_verifier.md
- poller_service.md
- telemetry_export.md
- Agents
- Workflows
- Bridge
- Utils
- lib.md
- github.md
- gitlab.md
- jira.md
- kafka.md
- ziti.md
- vault.md
- r2r.md
- semantica.md
- aethalgard.md
- mcp_client.md
- pipeline_classifier.md
- s3.md
- sentry.md
- security_validator.md
- cursor_store.md
- git_poller.md
- lib.md
- main.md
- protocol.md
- sandbox.md
- scratch.md
- feedback_route.md
- github_webhook.md
- Skills
-
Tools
- mod.md
- bridge.md
- deep_research_tool.md
- execute_code.md
- get_factory_status.md
- index_code.md
- inspect_kafka_topic.md
- launch_sandbox_pod.md
- list_minio_buckets.md
- list_minio_objects.md
- plan_mission.md
- retrieve_context.md
- run_tests.md
- search_jira.md
- security_review.md
- spec_kit_tasks_to_issues.md
- spec_kit_tool.md
- update_mission_status.md