Skip to content

test: require public task examples#10

Merged
c0da-ricon merged 1 commit into
junior/parallel-bats-defaultfrom
c0da/require-task-examples
Jul 17, 2026
Merged

test: require public task examples#10
c0da-ricon merged 1 commit into
junior/parallel-bats-defaultfrom
c0da/require-task-examples

Conversation

@c0da-ricon

Copy link
Copy Markdown
Contributor

Review finding

Template's test task now models useful #USAGE example metadata, but doctor still has none and the skeleton does not protect examples as part of the public task contract. New tools can therefore copy the skeleton and add tasks whose real help offers no concrete invocation.

Fix

  • add a concrete mise run doctor example;
  • discover public task files in the skeleton suite;
  • resolve nested/default task paths to their actual task names;
  • verify every task exposes Examples: through mise run <task> --help;
  • regenerate the dynamic README test count.

Validation

  • focused skeleton suite: 4/4
  • full default-parallel suite: 17/17
  • full serial suite: 17/17
  • all 8 configured lints
  • README freshness, Bash syntax, and git diff --check

Fix-it for #8.

@c0da-ricon
c0da-ricon merged commit cd7c335 into junior/parallel-bats-default Jul 17, 2026
2 checks passed
@c0da-ricon
c0da-ricon deleted the c0da/require-task-examples branch July 17, 2026 14:39
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