Skip to content

test: cover docs maintenance scripts - #662

Open
cywiktec wants to merge 1 commit into
canonical:mainfrom
cywiktec:cywiktec-critical-test-coverage
Open

cywiktec wants to merge 1 commit into
canonical:mainfrom
cywiktec:cywiktec-critical-test-coverage

Conversation

@cywiktec

Copy link
Copy Markdown

The documentation maintenance scripts have no automated tests despite handling remote updates and local configuration replacement. This adds coverage for their key decision and file-mutation paths, with a make test target to run the suite.

The tests cover update/version behavior, API and download failures, changed and new file detection, requirement reporting, configuration copy/overwrite behavior, cleanup, and command-line options. The suite could not be run here because Python is unavailable in the environment.

  • If this PR changes a Markdown page in docs/, I added or updated the metadata description at the top of the page.

Add unittest coverage for updater and Vale configuration copy logic, including failure paths and overwrite behavior. Add a make test target for repeatable execution.\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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