Skip to content

test: raise line coverage to 95%#47

Merged
Theauxm merged 3 commits intomainfrom
test/improve-coverage-phase-1
May 4, 2026
Merged

test: raise line coverage to 95%#47
Theauxm merged 3 commits intomainfrom
test/improve-coverage-phase-1

Conversation

@Theauxm
Copy link
Copy Markdown
Member

@Theauxm Theauxm commented May 4, 2026

Summary

  • Adds tests across sample trains/junctions (excluding GameServer host wiring).
  • Brings Trax.Samples line coverage from 90% to 95.2%.
  • Adds live Codecov badge to README.

Test plan

  • dotnet test passes locally

Theauxm added 3 commits May 4, 2026 13:42
…eServer)

Add unit tests for the JobHunt junctions that previously had 0% coverage
(RefetchAndHashJunction, FanOutCompanyMonitorJunction, FanOutMonitorJunction)
covering the missing-job, no-URL, scrape-success, scrape-404, and
scrape-failure paths plus the FanOut aggregation logic. Add tests for
the StubEmailSender and ManualContactProvider stubs, the BuildProjectJunction
skip-build path, the ExecuteTestsJunction missing-DLL guard, and additional
JobHuntLifecycleHook scenarios (MonitorJob notifications, both-id and
single-id topic routing, PascalCase property fallback).

Note: GameServer.E2E has 5 pre-existing failures on main that are
unrelated to this change. Coverage was measured with that suite excluded
to isolate the diff impact.
@Theauxm Theauxm merged commit 82c37b4 into main May 4, 2026
1 check passed
@Theauxm Theauxm deleted the test/improve-coverage-phase-1 branch May 4, 2026 22:58
@traxsharp
Copy link
Copy Markdown

traxsharp Bot commented May 6, 2026

This PR is included in version 1.21.0

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