Skip to content

Conversation

@manupawickramasinghe
Copy link
Collaborator

This commit introduces unit tests for the repository cloning script.

  • The main script github-clone.py is renamed to github_clone.py and refactored into functions to be testable.
  • Unit tests are added in the tests/ directory using the unittest framework.
  • A tests/README.md is added to explain how to run the tests.
  • A GitHub Actions workflow is set up to run the tests automatically on push and pull requests.
  • A status badge for the CI workflow is added to the main README.md.
  • A .gitignore file is added to exclude compiled Python files and other common temporary files.

This commit introduces unit tests for the repository cloning script.

- The main script `github-clone.py` is renamed to `github_clone.py` and refactored into functions to be testable.
- Unit tests are added in the `tests/` directory using the `unittest` framework.
- A `tests/README.md` is added to explain how to run the tests.
- A GitHub Actions workflow is set up to run the tests automatically on push and pull requests.
- A status badge for the CI workflow is added to the main `README.md`.
- A `.gitignore` file is added to exclude compiled Python files and other common temporary files.
@manupawickramasinghe manupawickramasinghe merged commit 0c7f8ae into main Aug 19, 2025
1 check passed
@manupawickramasinghe manupawickramasinghe deleted the feature/add-unit-tests branch August 19, 2025 13:12
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.

2 participants