Skip to content

fix: untrack test output files and extend .gitignore coverage#397

Open
TechBroAfrica wants to merge 1 commit into
HubDApp:mainfrom
TechBroAfrica:fix/gitignore-test-output-files
Open

fix: untrack test output files and extend .gitignore coverage#397
TechBroAfrica wants to merge 1 commit into
HubDApp:mainfrom
TechBroAfrica:fix/gitignore-test-output-files

Conversation

@TechBroAfrica

Copy link
Copy Markdown

closes #364

All 9 filenames were verified against the updated patterns using
git check-ignore -v — every file is now matched.

Testing

  • git check-ignore -v confirms all 9 paths are matched by the new patterns
  • git status shows working tree clean after commit
  • No source files, tests, or build configuration were modified

Remove 9 generated test-output files that were previously tracked in git:
- dongle-smartcontract/check_output.txt
- dongle-smartcontract/errors.txt
- dongle-smartcontract/final_test_output.txt
- dongle-smartcontract/final_test_results.txt
- dongle-smartcontract/final_test_run.txt
- dongle-smartcontract/full_test_output.txt
- dongle-smartcontract/test_final.txt
- dongle-smartcontract/test_output.txt
- dongle-smartcontract/test_output_latest.txt

Extend root .gitignore with patterns that cover all 9 filenames so
they cannot be re-added by accident:
  dongle-smartcontract/errors.txt
  dongle-smartcontract/check_output.txt
  dongle-smartcontract/*_output.txt
  dongle-smartcontract/*_output_*.txt
  dongle-smartcontract/full_test_*.txt
  dongle-smartcontract/final_test_*.txt
  dongle-smartcontract/test_final*.txt
  dongle-smartcontract/test_output*.txt

Existing patterns (test_results*.txt, *_errors.txt) are retained and
verified via git check-ignore.
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.

9 stray test-output .txt files committed in dongle-smartcontract/ despite .gitignore intent

1 participant