Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Remove Moq #79

Merged
merged 10 commits into from
Sep 6, 2023
Merged

test: Remove Moq #79

merged 10 commits into from
Sep 6, 2023

Conversation

askpt
Copy link
Member

@askpt askpt commented Aug 29, 2023

This PR

This PR Removes Moq and uses NSubstitute instead.

Related Issues

Fixes #76

Notes

Deleted HttpClientMock.cs. This class is not used anymore.

Follow-up Tasks

No need for follow-up tasks.

How to test

Should pass the CI.

@askpt askpt requested a review from a team as a code owner August 29, 2023 16:52
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
@askpt askpt changed the title Remove Moq test:Remove Moq Aug 29, 2023
@askpt askpt changed the title test:Remove Moq test: Remove Moq Aug 29, 2023
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

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

LGTM! ctrl+f "moq" returns no results, and the tests make sense.

Unrelated - I did notice in this PR that we need to add folders under test/ to our component owners config. Opened: #81

@@ -29,7 +29,7 @@
</PackageReference>
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVer)" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(MicrosoftNETTestSdkPkgVer)" />
<PackageReference Include="Moq" Version="$(MoqVer)" />
<PackageReference Include="NSubstitute" Version="$(NSubstituteVer)" />
Copy link
Member

Choose a reason for hiding this comment

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

😎

@thomaspoignant thomaspoignant merged commit 25a8c3c into open-feature:main Sep 6, 2023
16 checks passed
@askpt askpt deleted the askpt/76-remove-moq branch September 6, 2023 13:00
@toddbaert
Copy link
Member

Thanks a lot @askpt !

vpetrusevici pushed a commit to vpetrusevici/open-feature-dotnet-sdk-contrib that referenced this pull request Oct 18, 2023
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: Vladimir Petrusevici <vladimir.petrusevici@outlook.com>
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.

Replace Moq dependency with a different Mocking library
4 participants