C# Fluent API for interacting with Mock-Server
The TestHelper library allows simpler unit testing on Asp.net MVC controllers than can be accomplished through standard mocking and subclassing. It is designed to reduce the amount of work required to test controllers, and therefore should be used by your test projects but not in your web server project.
The simple statsd client for .Net is a robust, easy-to-use way of feeding metrics into a statsd-compatible server. You can use it to log counts, timings and gauges. Features include: * Log counts, timings, gauges, sets and raw metrics * Has an additional API that uses dynamics to create and submit stats * Fault-tolerant client that can be configured to fail silently (with a warning) if misconfigured * IStatsdClient interface for easy mocking in unit tests * Allows for customisation of every output stat to do things like screen metrics before sending * Supports a user-defined prefix to prepend to every metric * Outputs to UDP or TCP .Net 4.5 Users: * Use the StatsdExtensions to define metrics without having to manipulate strings * The dynamic stats builder interface provides a cleaner alternative to creating and logging metrics Licence: MIT
An XActLib assembly: an assembly of mock implementations of the services defined in XAct.Workflows. For testing purposes only.
This .NET library simplifies data mocking for UnitTests, to avoid a connection to a relational database. DbMocker use the standard Microsoft .NET DbConnection object. So, you can mock any toolkit, including EntityFramework, Dapper or ADO.NET; And for all database servers (SQL Server, Oracle, SQLite). ``` var conn = new MockDbConnection(); conn.Mocks .When(cmd => cmd.CommandText.Contains("SELECT COUNT(*) FROM EMP")) .ReturnsScalar(14); ```
An InProcess HTTP server which can be mocked and asserted against to allow for full stack HTTP testing
Micro document database with a focus on visibility & simplicity. The same 35kb dll is used for: - Saving data to text file(s) locally - Optionally hosting and connecting to a HTTP Embark server - Optional runtime-only persistence for unit testing/mocks - Doesn't force any ID or [Attribute] conventions you that you must use - Still, optional convention based interaction is avaliable. - Flexible constructor injection for custom behaviour of data storage and/or serialization. Examples & source @ http://ideaflare.github.io/embark Feedback, suggestions & pull requests welcome!
A simple http server for using as a mock in test projects
.NET library to mock HTTP responses for any HTTP client and verify request expectations with an experience inspired by Moq.
A mock library for HTTP request via HttpClient. Simple, fast, no HTTP server needed, parallel test executing enabled.
Take Command is a wrapper for jQuery v1.4.3+ Ajax that allows you to easily define all your server side calls into one easy to manage object. Commands do not execute immediately, helping to organize your applications, Ajax calls, and their callback functions (success, error and always). When testing your JavaScript, you may not want to fire actual Ajax calls. takeCommand allows you to put your commands in test mode. You can set a flag to identify whether the Ajax call was a success or fail as well as provide mock response data.
Lightweight HTTP server for mocking, testing, and other generic purposes
Smart mock data library SQL Server extensions
Bowire — the API workbench that embeds in your own service. Core host package for ASP.NET: plugin infrastructure (IBowireProtocol), UI shell, HTML generator, recording + mock contracts. Pair with Kuestenlogik.Bowire.Protocol.* plugins (gRPC, REST, GraphQL, MQTT, SignalR, WebSocket, SSE, MCP, OData, Socket.IO) to discover, invoke, record, mock, and replay live network traffic across protocols.
HTTP server mock is a really useful tool for testing, it will help you to mock HTTP requests.
Mock Data Framework helps you mock data for UI tests, without implementing mock classes. The framework simulates server for your application provides you unique data for every your unique http request.
An easy-to-use .NET wrapper for HttpClient. No extension methods, included interfaces for easy unit test mocking, and straightforward properties for easier debugging. It also supports streaming responses, with built-in helpers for reading line-delimited streams and Server-Sent Events.
Moksy is an open source .Net library for stubbing, mocking and simulating web services. Intended to be driven from MsTest (or your favorite testing framework), Moksy will create a real HTTP Server end-point that your system under test or other services can hit. For example: Moksy.Common.Proxy proxy = new Moksy.Common.Proxy(10011); proxy.Start(); var simulation = SimulationFactory.When.I.Get().From("/TheEndpoint").Then.Return.Body("Hello World!").And.StatusCode(System.Net.HttpStatusCode.OK); proxy.Add(simulation); Navigating to http://localhost:10011/TheEndpoint in your browser or hitting that Url from another service will return "Hello World!". This release has a strong focus on testing JSON-based web services.
Fast and easy testing of BizTalk server integrations by mocking the communication to and from them.
Mock Data Framework helps you mock data for UI tests, without implementing mock classes. The framework simulates server for your application provides you unique data for every your unique http request.
C# Fluent API for interacting with Mock-Server v 5.5
In memory docker container runner for NinjaTools.FluentMockServer
Deleporter - Simple Cross Process Stubbing. Facilitates stubbing out dependencies when running automated browser tests against ASP.Net. Use in conjunction with your favorite mocking/IOC frameworks. Deleporter will teleport mock objects (or any arbitrary delegates) into a remote ASP.Net application, allowing you to swapping out dependencies and reduce test fragility or test complex scenarios. Also includes Cassini/IIS Express and Selenium Server automation to provide a fully seamless test experience. Install this package in your ASP.Net Web Application and Deleporter.Client in your test project. See the project homepage for more details. Source code available at https://github.com/StuartLeitch/Deleporter.
Modern, testable database access library using DbProviderFactory with Result monad pattern for explicit error handling. Features IDbCommandExecutor interface for easy mocking, command factory pattern for separation of concerns, and fluent parameter API. Supports SQL Server, PostgreSQL, MySQL, Oracle, SQLite, and ODBC for universal database connectivity.
This package provides the core functionality for project Imposter. Project Imposter provides simple over the wire test doubles. Project Imposter allows to stub or mock a REST resource.
With "HttpMockServer" it is possible to create an mocked HTTP-Server for any type of automated tests. The behavior of this mocked server is configurable and any kind of response could be sent to the caller.
C# Fluent API for interacting with Mock-Server
Provides the ability to mock a HTTP server. For help with testing external services using C#.
Bowire mock server + Mocks rail UI — ships both the mock-host runtime (MockServer, MockHandler, MockOptions, MockServerOptions) that replays Bowire recordings as a live local API endpoint (REST + gRPC unary replay, SSE / WebSocket / SignalR / MQTT streaming replay with captured frame cadence, schema-only mocks from OpenAPI / proto FileDescriptorSet / GraphQL SDL, chaos injection, stateful cursors, capture-on-miss) AND the BowireMocksRailContribution + the per-rail JS fragment the workbench stitches into its bundle. Run via `bowire mock --recording <file>`, embed with `app.UseBowireMock(...)`, or reference the package from an embedded workbench host to get the Mocks rail. The provisional Kuestenlogik.Bowire.Rail.Mocks package was folded in for v2.1.
Deleporter - Simple Cross Process Stubbing. Facilitates stubbing out dependencies when running automated browser tests against ASP.Net. Use in conjunction with your favorite mocking/IOC frameworks. Deleporter will teleport mock objects (or any arbitrary delegates) into a remote ASP.Net application, allowing you to swapping out dependencies and reduce test fragility or test complex scenarios. Also includes Cassini/IIS Express and Selenium Server automation to provide a fully seamless test experience. Install this package in your test project and Deleporter.Server in your ASP.Net Web project (MVC or WebForms). See the project homepage for more details. Source code available at https://github.com/StuartLeitch/Deleporter.