Improve integration tests: starred repos, colors, timestamps#211
Merged
amitsaha merged 4 commits intoamitsaha:masterfrom Feb 27, 2026
Merged
Improve integration tests: starred repos, colors, timestamps#211amitsaha merged 4 commits intoamitsaha:masterfrom
amitsaha merged 4 commits intoamitsaha:masterfrom
Conversation
Test 5 verifies forked hello-world repo is present without the flag. Test 6 verifies -ignore-fork skips the fork while keeping non-fork repos. Also updates setup docs to mention forking a hello-world repo.
Add starred repo test coverage for GitHub, GitLab, and Forgejo services. Add ANSI color output (green PASS / red FAIL, bold section headers) with tty detection, HH:MM:SS timestamps on every log line, and elapsed time in the summary footer.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gitbackup-test-publicis cloned andgitbackup-test-privateis excluded when using starred repo type)-ignore-forkflag correctly skips forked repos)[HH:MM:SS]timestamps on every log line and elapsed time in the summary footerTest plan
bash test/integration-test.sh githuband verify colored output with timestampsbash test/integration-test.sh github -vand verify summary includes elapsed timebash test/integration-test.sh github 2>&1 | cat) and verify no ANSI escape codes appear