[PR #187] [MERGED] chore: add tests for git exec commands #189

Closed
opened 2026-03-04 00:41:49 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/thegeeklab/git-sv/pull/187
Author: @xoxys
Created: 4/22/2025
Status: Merged
Merged: 4/22/2025
Merged by: @xoxys

Base: mainHead: add-tests


📝 Commits (5)

📊 Changes

9 files changed (+1656 additions, -593 deletions)

View changed files

📝 app/app_test.go (+697 -22)
📝 app/config_test.go (+81 -77)
📝 go.mod (+4 -0)
📝 go.sum (+1 -0)
📝 sv/commit_test.go (+157 -91)
📝 sv/formatter/formatter_test.go (+52 -20)
📝 sv/message_test.go (+614 -356)
📝 sv/releasenotes_test.go (+5 -4)
📝 templates/templates_test.go (+45 -23)

📄 Description

In preparation for https://github.com/thegeeklab/git-sv/issues/127, adding tests for the methods that use git exec commands should ensure that the migration to go-git doesn't break anything.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/thegeeklab/git-sv/pull/187 **Author:** [@xoxys](https://github.com/xoxys) **Created:** 4/22/2025 **Status:** ✅ Merged **Merged:** 4/22/2025 **Merged by:** [@xoxys](https://github.com/xoxys) **Base:** `main` ← **Head:** `add-tests` --- ### 📝 Commits (5) - [`c2888f8`](https://github.com/thegeeklab/git-sv/commit/c2888f84982ca9a53b0b48ae378e29209c9f8fb3) chore: add tests for git exec commands - [`a6620aa`](https://github.com/thegeeklab/git-sv/commit/a6620aa578d44b8f5f07df33f05876ee07210239) add more tests - [`e1d4793`](https://github.com/thegeeklab/git-sv/commit/e1d47933bb5ef5ab205d8415cc3f288936b5cd92) unify tests - [`676353b`](https://github.com/thegeeklab/git-sv/commit/676353ba29c54a5870de22998c0481e2e09a98c7) use asserts - [`6a8c941`](https://github.com/thegeeklab/git-sv/commit/6a8c941c55ae809d7e0bf934a758e09604201c6a) fix git init branch ### 📊 Changes **9 files changed** (+1656 additions, -593 deletions) <details> <summary>View changed files</summary> 📝 `app/app_test.go` (+697 -22) 📝 `app/config_test.go` (+81 -77) 📝 `go.mod` (+4 -0) 📝 `go.sum` (+1 -0) 📝 `sv/commit_test.go` (+157 -91) 📝 `sv/formatter/formatter_test.go` (+52 -20) 📝 `sv/message_test.go` (+614 -356) 📝 `sv/releasenotes_test.go` (+5 -4) 📝 `templates/templates_test.go` (+45 -23) </details> ### 📄 Description In preparation for https://github.com/thegeeklab/git-sv/issues/127, adding tests for the methods that use `git` exec commands should ensure that the migration to `go-git` doesn't break anything. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem closed this issue 2026-03-04 00:41:49 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-sv#189
No description provided.