Skip to content

test: improve test coverage across core packages#4

Merged
outofcoffee merged 2 commits intomainfrom
improve-test-coverage
Apr 7, 2026
Merged

test: improve test coverage across core packages#4
outofcoffee merged 2 commits intomainfrom
improve-test-coverage

Conversation

@outofcoffee
Copy link
Copy Markdown
Collaborator

Add tests for core packages that were lacking coverage, focusing on key behaviours, edge cases, and error conditions.

Summary

  • Add unit tests for stringutil (ContainsIgnoreCase, Unique)
  • Add tests for convcommits covering scoped commits, breaking changes, and DetermineTypes
  • Add tests for semver covering v-prefix handling, all patch types, precedence rules, and version bumping
  • Add tests for vcs covering commit fetching, flattening, exclusion filtering, tag operations, branch checking, and changelog committing
  • Add tests for changelog covering file resolution, reading, parsing, writing, and overwriting

Add tests for stringutil, convcommits, semver, vcs, and changelog
packages covering key behaviours, edge cases, and error conditions.
The test relied on global git config for author identity, which is
not available in CI environments.
@outofcoffee outofcoffee force-pushed the improve-test-coverage branch from 7fa0aa2 to 4651bb5 Compare April 7, 2026 00:13
@outofcoffee outofcoffee marked this pull request as ready for review April 7, 2026 00:14
@outofcoffee outofcoffee merged commit 4734793 into main Apr 7, 2026
1 check passed
@outofcoffee outofcoffee deleted the improve-test-coverage branch April 7, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant