test: Add comprehensive tests for code_stats plugin#168
Open
newffnow wants to merge 3 commits intoScottcjn:mainfrom
Open
test: Add comprehensive tests for code_stats plugin#168newffnow wants to merge 3 commits intoScottcjn:mainfrom
newffnow wants to merge 3 commits intoScottcjn:mainfrom
Conversation
) - Added view_image tool: reads image files as base64 for vision models - Added screenshot tool: captures screen on Windows/macOS/Linux - Added /screenshot slash command - Updated system prompt with vision model instructions - Supports PNG, JPG, GIF, WebP formats - Uses stdlib base64 module (zero dependencies) Wallet: newffnow-github
- 31 tests covering all core functionality: - File operations (read, write, edit) - Command execution with timeout - Search and find files - Directory listing - Config system - Undo system - Achievement tracking - Git operations - Token estimation - Path resolution - Hardware detection - GitHub Actions workflow for CI (Ubuntu, macOS, Windows) - Tests zero-dependency guarantee - All tests pass on Python 3.8-3.12 Bonus: Added CI workflow that verifies zero external dependencies Wallet: newffnow-github
Owner
|
NEEDS WORK — Good test coverage but conflicts with #146 (sayanget, just merged) which puts tests under
3 RTC on merge after rebase. |
Owner
|
Looks good! Has merge conflicts with main — can you rebase? Will merge once conflicts are resolved. |
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.
Tests Added for code_stats Plugin - Closes #133
Test Coverage:
Total: 22 test functions
Test Categories:
All tests use pytest fixtures.