Conversation
…ent integration tests Agent-Logs-Url: https://github.com/dapr/dotnet-sdk/sessions/f4b37eda-ad54-4022-b2f2-8a0e2455ae00 Co-authored-by: WhitWaldo <2238529+WhitWaldo@users.noreply.github.com>
|
@copilot Please resolve the merge conflicts |
Co-authored-by: WhitWaldo <2238529+WhitWaldo@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1791 +/- ##
=======================================
Coverage 62.37% 62.37%
=======================================
Files 285 285
Lines 8421 8421
Branches 980 980
=======================================
Hits 5253 5253
Misses 2935 2935
Partials 233 233
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
WhitWaldo
left a comment
There was a problem hiding this comment.
Please review and correct what I identified
…llable to Directory.Build.props Agent-Logs-Url: https://github.com/dapr/dotnet-sdk/sessions/5e15d763-38d4-40d1-92ae-368f5e5cb51d Co-authored-by: WhitWaldo <2238529+WhitWaldo@users.noreply.github.com>
All three items addressed in 6f15733: primary constructor, |
|
@copilot Well, maybe it was a step too far to pull in the Directory.Props in the integration test directory since that's breaking some of the other integration tests now. Please roll that change back. |
Agent-Logs-Url: https://github.com/dapr/dotnet-sdk/sessions/4f37993f-8ff7-42a7-aacf-5539d7dfdbd8 Co-authored-by: WhitWaldo <2238529+WhitWaldo@users.noreply.github.com>
Reverted in 9ef744f — moved |
Description
New
test/Dapr.IntegrationTest.Actors.Generatorsproject that replaces the E2E tests inDapr.E2E.Test.Actors.Generatorswith testcontainer-based integration tests matching the existingDapr.IntegrationTest.Actorspatterns. Removes the dependency on the Dapr CLI and manual sidecar/port management.Project structure:
Infrastructure/—ActorTestContextandActorRuntimeHelper(same patterns asDapr.IntegrationTest.Actors)Actors/—IPingActor,IRemoteActor/RemoteActor(server-side),IClientActorwith[GenerateActorClient](source-generated client)GeneratedClientTests.cs— 8 integration testsTest coverage (8 tests, up from 1 in E2E):
[ActorMethod(Name)]attribute mapping verificationCancellationTokenpassthroughThe
IClientActorinterface exercises the source generator end-to-end:Code quality:
RemoteActoruses C# primary constructor matching existing actor patterns inDapr.IntegrationTest.Actors[LoggerMessage]source-generated extension methods (viaRemoteActorLogMessagespartial class)Issue reference
Checklist