Skip to content

Conversation

@masonlet
Copy link
Owner

No description provided.

- Add pytest as optional test dependency
- Configure pytest with pytest.ini
- TestGetCommitDates: counting by date, invalid timestamps, misisng keys, same-day grouping
- TestGetIntensityChar: intensity level mapping validation
- TestCreateWeekGrid: grid structure validation, sunday alignment validation
- TestPopulateGrid: commit count population testing
- TestGetRepoCommits: cache validity, API fetching, pagination, error handling, format transformation
- TestCachePaths: user and commit cache path creation
- TestIsCacheValid: nonexistent files, valid cache, stat error handling
- TestFormatTime: time delta formatting (just now, minute(s), hour(s))
- Fix create_week_grid calculation bug
@masonlet masonlet merged commit 0c45a19 into main Nov 16, 2025
1 check passed
@masonlet masonlet deleted the feature/unit-tests branch November 16, 2025 03:26
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.

1 participant