Skip to content

test: comprehensive test suite for auto-merge confidence#54

Merged
maff merged 3 commits into
mainfrom
improve/test-suite
Mar 14, 2026
Merged

test: comprehensive test suite for auto-merge confidence#54
maff merged 3 commits into
mainfrom
improve/test-suite

Conversation

@maff
Copy link
Copy Markdown
Owner

@maff maff commented Mar 14, 2026

Summary

  • Add unit tests for config overrides (13 cases), config resolution (10 cases), and version strategy (12 cases)
  • Expand version resolver unit tests from 4 to 16 cases covering all version types and flags
  • Rewrite e2e tests using temp git repos for deterministic exact-value assertions across both GitLab CI and GitHub Actions (snapshot, release, pre-release, patch, PR context, config overrides, output formats, error handling)
  • Add real-repo test with known commit SHA for date parsing verification
  • Separate CI test steps (unit + e2e) and parallelize test/git-that-semver jobs
  • Total: 153 tests, 347 assertions

Test plan

  • bun test — all 153 tests pass
  • bun run test:unit — 133 unit tests pass
  • bun run test:e2e — 20 e2e tests pass
  • bun run lint — formatting clean
  • CI passes on this PR

maff added 3 commits March 14, 2026 19:39
- Add unit tests for config overrides, config resolution, and version strategy
- Expand version resolver tests (4 → 16 cases) covering all version types and flags
- Rewrite e2e tests using temp git repos for deterministic exact-value assertions
- Cover both GitLab CI and GitHub Actions across all scenarios (snapshot, release,
  pre-release, patch, PR context, config overrides, output formats, error handling)
- Add real-repo test with known commit SHA for date parsing verification
- Separate CI test steps (unit + e2e) and parallelize test/git-that-semver jobs
- actions/checkout v4 → v6
- docker/build-push-action v6 → v7
- docker/metadata-action v5 → v6
- docker/setup-buildx-action v3 → v4
- docker/setup-qemu-action v3 → v4
- docker/login-action v3 → v4
@maff maff merged commit a343403 into main Mar 14, 2026
5 checks passed
@maff maff deleted the improve/test-suite branch March 14, 2026 19:05
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