Skip to content

Move DependencyTracker specs from system to integration tier - #1286

Merged
mkarlesky merged 1 commit into
next_versionfrom
test/dependency-tracker-integration-tier
Sep 14, 2026
Merged

mkarlesky merged 1 commit into
next_versionfrom
test/dependency-tracker-integration-tier

Conversation

@mkarlesky

Copy link
Copy Markdown
Member

Summary

PR 1 of 5 in the system-test redesign (Stage 2 plan, following the "System Test Duplication Assessment" report's Finding 4). These 6 specs already match spec/integration/'s own charter, not spec/system/'s: real DependencyTracker/FileWrapper/etc. against a real Dir.mktmpdir temp directory, but no CLI subprocess, no gem deployment, and — per dependency_tracker_gcc_deps_spec.rb's own header comment — not even a real gcc invocation.

Changes

  • spec/system/dependencies/*.rb (6 files) → spec/integration/dependencies/
  • spec/support/system/dependency_tracker_system_helper.rbspec/support/integration/dependency_tracker_integration_helper.rb, module renamed DependencyTrackerSystemHelperDependencyTrackerIntegrationHelper
  • Each moved file's require, include, describe '... (system)' string, and header-comment tier language updated to match
  • Two stray comment cross-references elsewhere (spec/units/dependencies/dependency_tracker_spec.rb, spec/system/delta_builds_spec.rb) updated to point at the new location

Purely mechanical — no assertion, fixture, or collaborator wiring changed. Coverage is identical before and after.

Verification

  • spec/integration/dependencies/: 48/48 examples pass, host (macOS) and the madsciencelab-plugins Docker image (Linux) — with the expected 1-2 platform-gated pending cases (case-sensitivity scenarios, mirror image depending on host filesystem).
  • Full rake specs:integration: 85/85 examples pass (37 pre-existing + 48 moved).
  • Edited unit spec (dependency_tracker_spec.rb): 55/55 pass, unchanged behavior.
  • grep confirms no remaining reference to the old spec/system/dependencies path anywhere in the repo.
  • Full-suite validation (all 16 CI matrix jobs) is CI's job per the Stage 2 plan's process — not duplicated locally.

This is PR 1 of 5; the plan calls for a go-ahead before starting PR 2 (Cluster E shared scaffold).

🤖 Generated with Claude Code

PR 1 of the system-test redesign (Stage 2 plan, Finding 4): these 6 specs
already match spec/integration/'s own charter, not spec/system/'s -- real
DependencyTracker/FileWrapper/etc. against a real Dir.mktmpdir temp
directory, but no CLI subprocess, no gem deployment, and (per
dependency_tracker_gcc_deps_spec.rb's own header) not even a real gcc
invocation. Mechanical move: directory, helper module name/location, and
each file's declared tier (describe string + header comment) change; no
assertion, fixture, or collaborator wiring changes. Two stray comment
cross-references elsewhere (a unit spec, delta_builds_spec.rb) updated to
point at the new location.

Coverage is identical before and after -- same real collaborators, same
real temp-directory fixtures, same 48 examples, same 1-2 platform-gated
pending cases (mirror image depending on host filesystem case-sensitivity).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@mkarlesky
mkarlesky merged commit 86bf5ab into next_version Sep 14, 2026
19 checks passed
@mkarlesky
mkarlesky deleted the test/dependency-tracker-integration-tier branch September 14, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant