Skip to content

Conversation

@sterob-2
Copy link
Owner

@sterob-2 sterob-2 commented Jan 1, 2026

Adds comprehensive test coverage for utility and parser functions.

Test Coverage

This PR adds 54 tests covering:

  • WorkItemParsersTests (14 tests)

    • Project reference parsing (user/org projects)
    • Issue number extraction
    • Acceptance criteria parsing
    • File list parsing from specs
    • Section extraction
    • Path validation
  • AgentHelpersTests (12 tests)

    • File path validation
    • Extension filtering
    • Test file detection
    • Code fence stripping
    • Content truncation
  • AgentTemplateUtilTests (20 tests)

    • Template rendering with tokens
    • Status updates
    • Section replacement
    • Question appending
  • WorkItemBranchTests (8 tests)

    • Branch name generation
    • Special character handling
    • Slugification
  • ProjectSummaryFormatterTests (5 tests)

    • Project snapshot formatting
    • Status grouping

Test Infrastructure

  • xUnit test framework
  • Moq for mocking
  • FluentAssertions for readable assertions
  • Test helpers for creating test data

Known Issues

  • 1 test failing: Unicode character handling test expectation needs adjustment

Test Results

Passed: 53
Failed: 1
Total: 54

sterob-2 added a commit that referenced this pull request Jan 1, 2026
Disable GitHub Actions cache (type=gha) which was causing "short read: unexpected EOF" errors on self-hosted runners. This is a temporary fix to unblock PR builds.

The cache was corrupted and causing failures:
- PR #10: short read: expected 178216581 bytes but got 157859840
- PR #8: short read: expected 32249964 bytes but got 26836992

Using no-cache: true to ensure reliable builds until cache can be properly cleared and re-initialized.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Disable GitHub Actions cache (type=gha) which was causing "short read: unexpected EOF" errors on self-hosted runners. This is a temporary fix to unblock PR builds.

The cache was corrupted and causing failures:
- PR #10: short read: expected 178216581 bytes but got 157859840
- PR #8: short read: expected 32249964 bytes but got 26836992

Using no-cache: true to ensure reliable builds until cache can be properly cleared and re-initialized.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
sterob-2 added a commit that referenced this pull request Jan 1, 2026
Disable GitHub Actions cache (type=gha) which was causing "short read: unexpected EOF" errors on self-hosted runners. This is a temporary fix to unblock PR builds.

The cache was corrupted and causing failures:
- PR #10: short read: expected 178216581 bytes but got 157859840
- PR #8: short read: expected 32249964 bytes but got 26836992

Using no-cache: true to ensure reliable builds until cache can be properly cleared and re-initialized.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@sterob-2 sterob-2 closed this Jan 1, 2026
@sterob-2 sterob-2 reopened this Jan 1, 2026
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 1, 2026

@sterob-2 sterob-2 merged commit ade77fa into main Jan 1, 2026
14 checks passed
@sterob-2 sterob-2 deleted the tests/utilities-parsers branch January 1, 2026 19:33
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