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
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.
A lightweight http server for mocking web services and REST resources
Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape. This is a forked version that contains a very basic remote WireMock Admin API and an Interface to make your tests capable of running against a local or a remote WireMock server transparently.
A simple http server for using as a mock in test projects
C# Fluent API for interacting with Mock-Server
An InProcess HTTP server which can be mocked and asserted against to allow for full stack HTTP testing
A mock library for HTTP request via HttpClient. Simple, fast, no HTTP server needed, parallel test executing enabled.
HTTP server mock is a really useful tool for testing, it will help you to mock HTTP requests.
Fast and easy testing of BizTalk server integrations by mocking the communication to and from them.
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.
An XActLib assembly: an assembly of mock implementations of the services defined in XAct.Workflows. For testing purposes only.
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.
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.
In memory docker container runner for NinjaTools.FluentMockServer
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.
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). ```csharp var conn = new MockDbConnection(); conn.Mocks .When(cmd => cmd.CommandText.Contains("SELECT COUNT(*) FROM EMP")) .ReturnsScalar(14); ```
In integraction test you can mock your external apis with test server. When you create instance of WireMock, It will as you mapping path and port number. For mapping path you neet to give __admin/mappings location in your local system and port you can give any number or else system will take 9966 port number.
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!
Aspnet core middleware to spin up rest resources dynamically. This package is part of project Imposter which provides simple over the wire test doubles. Project Imposter allows to stub or mock a REST resource.
C# Fluent API for interacting with Mock-Server v 5.5
Enables to store mocking sessions in Amazon Aws DynamoDb for request/response verification. This package is part of project Imposter which provides simple over the wire test doubles. Project Imposter allows to stub or mock a REST resource.
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.
A unit testing library for Blazor Components. You can easily define components under test in C# or Razor syntax and verify outcome using semantic HTML diffing/comparison logic. You can easily interact with and inspect components, trigger event handlers, provide cascading values, inject services, mock IJsRuntime, and perform snapshot testing. This library's goal is to make it easy to write comprehensive, stable unit tests for Blazor Components/Razor Components. To see how, head to the Wiki pages: https://github.com/egil/razor-components-testing-library/wiki
bUnit.web.mock contains an experimental component stubbing mocking library. This library is in preview, and the logic will likely be added back into bUnit when out of preview.
A true repository implementation for .NET. Write tests without requiring mocking or IOC. Sqlite: Install SimpleRepository Sqlite Sql Server: Install SimpleRepository SqlServer Ninject: Install SimpleRepository Ninject
Lightweight HTTP server for mocking, testing, and other generic purposes
.NET library to mock HTTP responses for any HTTP client and verify request expectations with an experience inspired by Moq.
.Net Core HTTP mocking server
Smart mock data library SQL Server extensions
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.
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.
A simple TCP/UDP server for using in test projects which test .net core based projects.
Adds the current SeleniumServer.jar (27MB) to the project (requires Java to run - http://java.com). Pulls in Selenium.Support. Useful for headless browser testing where you don't want to be bothered with setting up Selenium Server. Note, if you already have a SeleniumServer.jar on your system, you can use the configuration available in Deleporter.Client to set the location to this and you will not need this package. See Deleporter.Client for more info. Source code available at https://github.com/StuartLeitch/Deleporter.
An extension for HttpMock(hibri) with concurrency support With the current changes now this will support: 1.Concurrency. 2.Session. 3.Private/Shared Mocks (in the context of initializing a single HttpMock server with parallel running scenarios ) 4.WithNewContext support to individual scenarios. (Which will not break already running scenarios in parallel)