Feat/testrunner sample#27
Closed
Theauxm wants to merge 7 commits into
Closed
Conversation
Hub-pattern sample that discovers and runs NUnit test projects across the Trax monorepo. Uses NUnit.Engine for in-process test execution, [TraxBroadcast] with built-in onTrainCompleted subscriptions for streaming results, and a React + Apollo Client frontend. Includes build toggle, dashboard integration, and unit tests.
…f real monorepo Tests were scanning the real Trax monorepo filesystem which doesn't exist in CI. Now creates a fake directory structure with synthetic .csproj files in a temp dir, making the tests self-contained and CI-compatible.
…ture
The TestRunner now scans {root}/tests/ directly rather than {root}/*/tests/,
so it works when someone clones just Trax.Samples without the full monorepo
workspace. Config key renamed from TestRunner:MonorepoRoot to TestRunner:Root.
The TestRunner only scans the Trax.Samples repo which has no Postgres-requiring test projects. Removes the PostgresProjects set, RequiresPostgres property, and all frontend references to it.
- Remove unused RepoName from TestProject model, registry, query, types, and UI - Remove orphaned .postgres-badge CSS and .project-repo CSS - Remove unused workQueueId from mutation query - Remove unused metadataId/trainState/timestamp from subscription queries - Rename ScanMonorepoJunction to ScanProjectsJunction - Fix stale example queries in Program.cs header comments - Update UI subtitle to reference Trax.Samples instead of monorepo
BanPlayerTrain now overrides OnCompleted and OnFailed to log ban outcomes, showing how trains can react to their own lifecycle without global hooks.
Replaces ChatLifecycleHookFactory with direct AddLifecycleHook<ChatLifecycleHook>() registration. Adds AuditLogHook to GameServer API and Scheduler as a global lifecycle hook example.
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.
No description provided.