Live OBS tests in MSTest, coverage gate, and the fixes they found - #45
Merged
Merged
Conversation
Agash
force-pushed
the
feat/coverage-and-integration-tests
branch
from
September 23, 2026 03:56
3843baa to
f45a1ae
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the live OBS validation out of the example app and into the test project, and raises coverage to 93.9% line / 80.9% branch on net9, net10 and net11. Those numbers combine the unit tests and the live run.
Tests
run-transport-testscommand is gone from the example app, and the old hand-configured integration class is removed.Fakes/FakeObsServer) speaks the wire protocol, so the handshake, receive loop, reconnects, events, batches and group helpers are tested through the real code without a live OBS.{Method}_{Scenario}_{ExpectedResult}.Library fixes the new tests found
AuthenticationFailureExceptionand is not retried. Before, a wrong password reconnected indefinitely.CanvasCreated,CanvasNameChangedandCanvasRemovednow fire. The event dispatch table is generated from the protocol, so it can't drift again.SourceExistsAsyncno longer reports a dropped connection or a timeout as the source not existing.[LoggerMessage].CI
Obs.Required=true, so a missing endpoint or fixture fails the run instead of skipping every live test.