Skip to content

Remove redundant unit tests from env, graph, and analyzer modules#86

Merged
dak2 merged 1 commit intomainfrom
remove-redundant-env-graph-tests
Mar 23, 2026
Merged

Remove redundant unit tests from env, graph, and analyzer modules#86
dak2 merged 1 commit intomainfrom
remove-redundant-env-graph-tests

Conversation

@dak2
Copy link
Copy Markdown
Owner

@dak2 dak2 commented Mar 23, 2026

Motivation

These Rust unit tests duplicated coverage already provided by Ruby integration tests, adding maintenance burden without catching additional bugs

Changes

  • Remove #[cfg(test)] mod tests from analyzer/mod.rs, env/box_manager.rs, env/local_env.rs, env/method_registry.rs, env/scope.rs, env/vertex_manager.rs, graph/box.rs, graph/change_set.rs, graph/vertex.rs
  • Remove test-only helper ResolutionContext::empty()

Checked

  • cargo check --lib passes
  • cargo test --lib passes (29 retained tests)

🤖 Generated with Claude Code

These unit tests duplicated coverage already provided by Ruby integration
tests, adding maintenance burden without catching additional bugs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dak2 dak2 force-pushed the remove-redundant-env-graph-tests branch from e8629d3 to b4bd1dc Compare March 23, 2026 15:35
@dak2 dak2 merged commit e6483e5 into main Mar 23, 2026
4 checks passed
@dak2 dak2 deleted the remove-redundant-env-graph-tests branch March 23, 2026 15:38
@dak2 dak2 mentioned this pull request Mar 24, 2026
2 tasks
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