Skip to content

Conversation

@grapeot
Copy link
Owner

@grapeot grapeot commented Jan 24, 2025

No description provided.

@grapeot grapeot merged commit 69abe65 into master Jan 24, 2025
1 check passed
@grapeot grapeot deleted the grapeot-patch-1 branch January 24, 2025 18:13
grapeot added a commit that referenced this pull request Feb 2, 2025
* Update README.md (#34)

* [Cursor] Improve test handling of LLM API configurations

- Add test_utils.py with smart detection of unconfigured/example API keys
- Add graceful error handling for API failures in live tests
- Consolidate test assertions into helper method
- Update README to document verbose test output
- Clean up duplicate code in test files

This improves the testing experience by:
1. Skipping tests when API keys are missing or using example values
2. Converting API errors to skipped tests rather than failures
3. Providing clear messages about why tests were skipped
4. Making test output more informative with -v flag

---------

Co-authored-by: Ya Ge <[email protected]>
Co-authored-by: badde57 <[email protected]>
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