Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Split ApplyDeltaTests into multiple types - #53158

#53158
Merged
tmat merged 2 commits into
dotnet:release/10.0.3xxdotnet/sdk:release/10.0.3xxfrom
tmat:ParallelizeTeststmat/sdk:ParallelizeTestsCopy head branch name to clipboard
Feb 26, 2026
Merged

Split ApplyDeltaTests into multiple types#53158
tmat merged 2 commits into
dotnet:release/10.0.3xxdotnet/sdk:release/10.0.3xxfrom
tmat:ParallelizeTeststmat/sdk:ParallelizeTestsCopy head branch name to clipboard

Conversation

@tmat

@tmat tmat commented Feb 25, 2026

Copy link
Copy Markdown
Member

Allows tests to run in parallel speeding up the overall test run.

Copilot AI review requested due to automatic review settings February 25, 2026 18:36
@tmat
tmat requested a review from a team as a code owner February 25, 2026 18:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors test organization by splitting the large ApplyDeltaTests.cs file (1408 lines) into 9 smaller, more focused test files, improving test maintainability and discoverability.

Changes:

  • Deletes the monolithic ApplyDeltaTests.cs file
  • Creates 9 new focused test files organized by functional area (termination, source updates, project updates, metadata handlers, Razor/Blazor, MAUI, logging, auto-restart, and Aspire)
  • Preserves all existing test logic and assertions

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
test/dotnet-watch.Tests/HotReload/ApplyDeltaTests.cs Deletes the original 1408-line test file
test/dotnet-watch.Tests/HotReload/TerminationTests.cs New file containing graceful termination tests for Windows (Ctrl+C) and Unix (SIGTERM)
test/dotnet-watch.Tests/HotReload/SourceFileUpdateTests.cs New file containing tests for source file additions, changes, renames, and dependency updates
test/dotnet-watch.Tests/HotReload/RazorHotReloadTests.cs New file containing Blazor WebAssembly and Razor component hot reload tests
test/dotnet-watch.Tests/HotReload/ProjectUpdateTests.cs New file containing tests for project file changes, Directory.Build.props updates, and global usings
test/dotnet-watch.Tests/HotReload/MetadataUpdateHandlerTests.cs New file containing tests for metadata update handler behavior and exceptions
test/dotnet-watch.Tests/HotReload/MauiHotReloadTests.cs New file containing MAUI Blazor hot reload tests
test/dotnet-watch.Tests/HotReload/LoggingTests.cs New file containing binary log generation tests
test/dotnet-watch.Tests/HotReload/AutoRestartTests.cs New file containing auto-restart tests for rude edits, runtime rude edits, and no-effect edits
test/dotnet-watch.Tests/HotReload/AspireHotReloadTests.cs New file containing Aspire hot reload tests including build error handling and auto-restart scenarios

Comment thread test/dotnet-watch.Tests/HotReload/MetadataUpdateHandlerTests.cs
Comment thread test/dotnet-watch.Tests/HotReload/MauiHotReloadTests.cs
Comment thread test/dotnet-watch.Tests/HotReload/LoggingTests.cs
Comment thread test/dotnet-watch.Tests/HotReload/AutoRestartTests.cs
Comment thread test/dotnet-watch.Tests/HotReload/AspireHotReloadTests.cs
Comment thread test/dotnet-watch.Tests/HotReload/TerminationTests.cs
Comment thread test/dotnet-watch.Tests/HotReload/SourceFileUpdateTests.cs
Comment thread test/dotnet-watch.Tests/HotReload/SourceFileUpdateTests.cs
Comment thread test/dotnet-watch.Tests/HotReload/RazorHotReloadTests.cs
Comment thread test/dotnet-watch.Tests/HotReload/ProjectUpdateTests.cs
@tmat

tmat commented Feb 25, 2026

Copy link
Copy Markdown
Member Author

@DustinCampbell @MichaelSimons ptal

@tmat
tmat enabled auto-merge (squash) February 26, 2026 00: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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.