WebClientForTestPurpose 1.0.0

It is not easy to mock non-virtual and non-abstract members of a class (such as System.Net.Webclient) for implement test cases. This project contains three derived classes from System.Net namespace which are provide help to get expected responses from a http server invocation. System.Net.WebClientTestPurpose class is derived from System.Net.Webclient. So it can be used instead of System.Net.WebClient (test purposes only!!!)

Install-Package WebClientForTestPurpose -Version 1.0.0
dotnet add package WebClientForTestPurpose --version 1.0.0
<PackageReference Include="WebClientForTestPurpose" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WebClientForTestPurpose --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

first release

  • .NETStandard 2.0

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 105 5/3/2019