Skip to content

Conversation

@mcj-coder
Copy link
Contributor

Summary

  • Add ITestOutputHelper to xUnit unit tests for per-test diagnostic output
  • Add IReqnrollOutputHelper to all Reqnroll step definitions (E2E, System, Hook tests)
  • Update GlobalUsings.cs in all test projects with required namespaces
  • Update coding standards with test output helper guidance and code review checklist

Test Plan

  • All 122 tests pass (62 unit + 4 arch + 22 system + 34 hook)
  • Test output visible in test runners when running with verbose mode
  • Build succeeds with no warnings

Refs: #120

🤖 Generated with Claude Code

- add ITestOutputHelper to xUnit unit tests (ProgramTests, ClaudeMonitorTests)
- add IReqnrollOutputHelper to Reqnroll step definitions (E2E, System, Hook tests)
- update GlobalUsings.cs in all test projects with required namespaces
- add test output helper guidance to coding standards
- update code review checklist with test output helper requirement

Refs: #120

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@github-actions
Copy link

github-actions bot commented Jan 15, 2026

Warnings
⚠️

No plan file found for this PR. If this work has a plan, ensure it is updated.

Expected location: docs/plans/YYYY-MM-DD-<topic>-design.md with frontmatter issue: '#120'

Messages
📖 Remember: This PR will be squash-merged. Ensure the PR title follows conventional commits format.

No Plan File Detected

This PR does not modify any plan files. If this work is tracked by a plan, please update the relevant plan file in docs/plans/.

Generated by 🚫 dangerJS against a6ac967

@mcj-coder mcj-coder enabled auto-merge (squash) January 15, 2026 17:15
@codecov
Copy link

codecov bot commented Jan 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Collaborator

@martincjarvis martincjarvis left a comment

Choose a reason for hiding this comment

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

Code Review: PR #121

Reviewer: martincjarvis

Summary

Adds ITestOutputHelper and IReqnrollOutputHelper to all test projects for diagnostic output visibility in test runners.

Review Checklist

  • Follows coding standards (constructor injection, readonly fields, _output naming)
  • Consistent implementation pattern across all 4 test projects
  • All 122 tests pass on ubuntu, windows, macos
  • GlobalUsings.cs updated with required namespaces
  • Coding standards documentation updated with guidance and examples
  • Code review checklist updated with new requirement
  • No security concerns

Observations

  • praise: Clean, consistent pattern - constructor injection with diagnostic WriteLine calls
  • praise: Good documentation with examples for both xUnit and Reqnroll patterns
  • praise: Refactored duplicate GivenIAmOnABranch to delegate to GivenIAmOnTheBranch

Verdict

APPROVED

All checks pass. Ready for auto-merge.

@mcj-coder mcj-coder merged commit 954bc94 into main Jan 15, 2026
23 checks passed
@mcj-coder mcj-coder deleted the feature/120-test-output-helper branch January 15, 2026 17:23
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.

3 participants