Skip to content

Conversation

@jenspapenhagen
Copy link
Collaborator

Description

Enhance Test Coverage

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test coverage improvement

Related Issues

Closes #

Changes Made

SPEC Compliance

  • This PR implements/fixes spec compliance
  • Spec section(s) affected:
  • Spec version:

Testing

  • All existing tests pass
  • Added new tests for changes
  • Tested on Java 17
  • Tested on Java 21

Test Output

# Paste test output here

Code Quality

  • Ran ./gradlew test - all tests pass
  • Ran ./gradlew jacocoTestCoverageVerification - coverage meets 85% threshold
  • Added JavaDoc comments for public APIs
  • Code follows Java conventions

Checklist

  • My code follows the project's coding standards
  • I have added JavaDoc comments to new public APIs
  • I have added JUnit tests that prove my fix/feature works
  • New and existing tests pass locally
  • I have updated documentation (README.md if needed)
  • My changes do not introduce new dependencies (or are justified)
  • I have maintained Java 17+ compatibility
  • I have reviewed the TOON specification for relevant sections

Performance Impact

  • No performance impact
  • Performance improvement (describe below)
  • Potential performance regression (describe and justify below)

Breaking Changes

  • No breaking changes
  • Breaking changes (describe migration path below)

Screenshots / Examples

// Example usage

Output:

# Example output

Additional Context

Checklist for Reviewers

  • Code changes are clear and well-documented
  • Tests adequately cover the changes
  • Documentation is updated
  • No security concerns
  • Follows TOON specification
  • Backward compatible (or breaking changes are justified and documented)

@jenspapenhagen jenspapenhagen requested a review from a team as a code owner November 28, 2025 20:53
Copy link
Collaborator

@felipestanzani felipestanzani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found. Great!

@felipestanzani felipestanzani merged commit 8a5f480 into toon-format:main Nov 29, 2025
1 check passed
@github-actions
Copy link
Contributor

Code Coverage

Overall Project 94.36% -0.03% 🍏
Files changed 99.23% 🍏

File Coverage
ArrayEncoder.java 100% 🍏
ListItemEncoder.java 100% 🍏
ValueEncoder.java 100% 🍏
StringValidator.java 100% 🍏
Delimiter.java 100% 🍏
JsonNormalizer.java 99.37% -0.16% 🍏
TabularArrayEncoder.java 98.86% 🍏
ObjectEncoder.java 96.26% -0.27% 🍏
ValueDecoder.java 89.73% 🍏
PrimitiveEncoder.java 87.39% 🍏

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