Skip to content

Reaction SDK(.NET): Add explicit Unit Tests for ManagementClient and ResultViewClient #411

Description

@amansinghoriginal

⚠️ Contributor & GSoC Rules ⚠️

To ensure a fair and manageable process for all contributors (including Google Summer of Code applicants), please follow these rules:

  1. Do NOT open a Pull Request unless you have been assigned to this issue. Unassigned PRs will be closed without review.
  2. To get assigned: Leave a comment below explaining where in the codebase you will implement this, and a 1-2 sentence description of your approach. The maintainers will assign it to the first coherent proposal.
  3. You may only be assigned to one "good first issue" at a time.
  4. If there is no update within 4 days, we may have to reassign the issue to another contributor.

Area for Improvement

Currently, the .NET Reaction SDK has a test project located at reactions/sdk/dotnet/Drasi.Reaction.SDK.Tests/. However, it only contains tests for the core ReactionTests (like the ReactionBuilder).

The core services located in reactions/sdk/dotnet/Drasi.Reaction.SDK/Services/, specifically the ManagementClient and ResultViewClient, completely lack unit test coverage. This leaves a gap where networking logic, API endpoint paths, and JSON deserialization might silently break during future refactoring.

Desired behavior

The test suite in Drasi.Reaction.SDK.Tests/ is expanded to include comprehensive unit tests for both ManagementClient and ResultViewClient, ensuring our HTTP integrations with the Drasi backend are robust and tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-infoNeeds more detail, scope, or acceptance/success criteria before it can be worked.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions