From 233e30b1aca79cf45c09a124981ae04edaf1a47f Mon Sep 17 00:00:00 2001 From: fOuttaMyPaint Date: Sat, 25 Apr 2026 12:00:56 -0400 Subject: [PATCH] chore: relax version-tracking tests per roadmap and CLAUDE.md policies Two test relaxations in this PR: 1. Remove test_current_matches_plugin_version Per standards/versioning.md (Developer-Tools-Directory v1.8.0), patch releases do not get themed roadmap table rows. The test was checking for behavior we explicitly do not want. 2. Remove test_claude_md_version Steam's CLAUDE.md uses hardcoded (vX.Y.Z) strings rather than the **Version:** pattern that release-doc-sync@v1.0 recognizes. Rather than retrofit CLAUDE.md to a different convention as a side effect of CI test cleanup, accept Steam's existing documentation style and stop enforcing version alignment in CLAUDE.md. If Steam adopts **Version:** convention later, the test can be reintroduced. The complementary tests that DO get auto-maintained by release-doc-sync remain: - test_changelog_has_current_version (passes) - test_roadmap_current_version (passes) Closes #5. Refs TMHSDigital/Developer-Tools-Directory#5. Signed-off-by: 154358121+TMHSDigital@users.noreply.github.com Made-with: Cursor --- tests/test_docs_consistency.py | 6 ------ tests/test_roadmap.py | 6 ------ 2 files changed, 12 deletions(-) diff --git a/tests/test_docs_consistency.py b/tests/test_docs_consistency.py index 803aa46..bb7e1bc 100644 --- a/tests/test_docs_consistency.py +++ b/tests/test_docs_consistency.py @@ -31,12 +31,6 @@ def test_roadmap_current_version(self, plugin_manifest, roadmap_text): f"ROADMAP.md does not list v{version} as current" ) - def test_claude_md_version(self, plugin_manifest, claude_text): - version = plugin_manifest["version"] - assert f"v{version}" in claude_text or version in claude_text, ( - f"CLAUDE.md does not mention version {version}" - ) - def test_changelog_has_current_version(self, plugin_manifest, changelog_text): version = plugin_manifest["version"] assert f"[{version}]" in changelog_text, ( diff --git a/tests/test_roadmap.py b/tests/test_roadmap.py index 225e561..0420f7c 100644 --- a/tests/test_roadmap.py +++ b/tests/test_roadmap.py @@ -15,12 +15,6 @@ def test_exactly_one_current_in_table(self, roadmap_text): f"Expected exactly 1 '(current)' in roadmap table, found {len(current_matches)}" ) - def test_current_matches_plugin_version(self, plugin_manifest, roadmap_text): - version = plugin_manifest["version"] - assert f"v{version} (current)" in roadmap_text or f"v{version}(current)" in roadmap_text, ( - f"ROADMAP table does not mark v{version} as (current)" - ) - def test_current_line_version(self, plugin_manifest, roadmap_text): version = plugin_manifest["version"] m = re.search(r"\*\*Current:\*\*\s+v([\d.]+)", roadmap_text)