Skip to content

test: split monolithic script tests#10

Merged
baskduf merged 1 commit into
mainfrom
refactor/split-test-suite
Jun 18, 2026
Merged

test: split monolithic script tests#10
baskduf merged 1 commit into
mainfrom
refactor/split-test-suite

Conversation

@baskduf

@baskduf baskduf commented Jun 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Split the large tests/test_scripts.py suite into focused modules for manifests/docs, CI/release, coverage, findings, goals, and LiteLLM helpers
  • Move shared test paths/loaders into tests/support.py
  • Keep tests/test_scripts.py as a compatibility placeholder and update py_compile commands to cover tests/*.py
  • Add import fallback so unittest discovery also works from outside the repository root

Test Plan

  • python3 -m unittest discover -s tests -v
  • cd $(mktemp -d) && python3 -m unittest discover -s /Users/wb/Desktop/FableCodex/tests -v
  • python3 -m unittest tests.test_ci_release.CiReleaseTests.test_ci_workflow_validates_against_pinned_source -v
  • python3 -m py_compile target scripts and tests/*.py; sh -n wrapper scripts
  • python3 plugins/codex-fable5/skills/codex-fable5/scripts/fable_coverage.py
  • git diff --check
  • Compared old vs split test method names: old=32, current=32, missing=[]

@baskduf baskduf merged commit 503b991 into main Jun 18, 2026
3 checks passed
@baskduf baskduf deleted the refactor/split-test-suite branch June 18, 2026 07:16
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