The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
WireMock.Net Alternatives
Similar projects and alternatives to WireMock.Net
-
Moq
Discontinued Repo for managing Moq 4.x [Moved to: https://github.com/moq/moq]
-
mockhttp
Testing layer for Microsoft's HttpClient library. Create canned responses using a fluent API.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
SpecFlow
#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
-
Fluent Assertions
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.
-
xUnit
xUnit.net is a free, open source, community-focused unit testing tool for .NET.
-
dotnet-testcontainers
Discontinued 🐋 A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. [Moved to: https://github.com/testcontainers/testcontainers-dotnet]
-
AutoFixture
AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability. Its primary goal is to allow developers to focus on what is being tested rather than how to setup the test scenario, by making it easier to create object graphs containing test data.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
-
Machine.Specifications
Machine.Specifications is a Context/Specification framework for .NET that removes language noise and simplifies tests.
-
Grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
-
-
insomnia
The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
-
swagger-ui
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
-
-
-
-
-
Refit
The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface.
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
WireMock.Net reviews and mentions
-
Mock heavy tests
I'd say that without wanting to refactor the code a little bit (maybe moving those HttpClients into a service so that they are easily mocked) your best bet would be to use something like WireMock or MockHttp.
-
Usefully links for DotNet Backend Developers
WiremockNet https://github.com/WireMock-Net/WireMock.Net
-
Integration tests without API dependencies with ASP.NET Core and WireMock.Net
In this post, I'll explain how to create mocks for HTTP APIs in narrow integration tests using the WireMock.Net library.
-
How do you Unit Test a WebAPI? What do you test?
I use WireMock (@ Java) to start a local webserver alongside the tests, this webserver will provide ‘real’ responses to the client. Here’s the C# equivalent: https://github.com/WireMock-Net/WireMock.Net
-
A note from our sponsor - WorkOS
workos.com | 18 Mar 2024
Stats
WireMock-Net/WireMock.Net is an open source project licensed under Apache License 2.0 which is an OSI approved license.
The primary programming language of WireMock.Net is C#.