Skip to content

test: add bats tests for each bin script#294

Merged
MekDrop merged 3 commits intomainfrom
test/add-bats-for-bin-scripts
Mar 28, 2026
Merged

test: add bats tests for each bin script#294
MekDrop merged 3 commits intomainfrom
test/add-bats-for-bin-scripts

Conversation

@MekDrop
Copy link
Copy Markdown
Contributor

@MekDrop MekDrop commented Mar 28, 2026

Summary

  • add ests/ Bats suite with coverage for every script in �in/
  • add shared test helpers for temp directory and command stubbing
  • add PR workflow (.github/workflows/test.yml) that installs Bats and runs �ats tests

Notes

  • tests stub external tooling (like git and yq) where needed to keep behavior deterministic
  • checkout.sh tests reflect the current branch-handling logic as implemented today

Testing

  • unable to run Bats in this local Windows shell because /bin/bash is unavailable; tests are intended to run in CI

@MekDrop MekDrop closed this Mar 28, 2026
@MekDrop MekDrop deleted the test/add-bats-for-bin-scripts branch March 28, 2026 04:51
@MekDrop MekDrop reopened this Mar 28, 2026
@MekDrop MekDrop force-pushed the test/add-bats-for-bin-scripts branch from 4685f34 to 365632d Compare March 28, 2026 04:56
@MekDrop MekDrop merged commit c466146 into main Mar 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant