Skip to content

Conversation

sashabaranov
Copy link
Owner

Summary

  • add tests for error branches in jsonschema.GenerateSchemaForType
  • cover containsRef recursion logic

Testing

  • go test ./jsonschema -cover
  • go test ./...

https://chatgpt.com/codex/tasks/task_e_68713954b31483259e4f1e24fc78d4cb

Copy link

codecov bot commented Jul 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.59%. Comparing base (bd36c45) to head (fa9e9a0).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1043      +/-   ##
==========================================
+ Coverage   99.31%   99.59%   +0.27%     
==========================================
  Files          34       34              
  Lines        2205     2205              
==========================================
+ Hits         2190     2196       +6     
+ Misses         10        6       -4     
+ Partials        5        3       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sashabaranov sashabaranov merged commit e6c1d3e into master Jul 11, 2025
7 checks passed
Rosenberg96 pushed a commit to lunarway/go-openai that referenced this pull request Aug 18, 2025
* test: expand jsonschema coverage

* test: fix package name for containsref tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant