Moksy 1.0.18
See the version list below for details.
dotnet add package Moksy --version 1.0.18
NuGet\Install-Package Moksy -Version 1.0.18
<PackageReference Include="Moksy" Version="1.0.18" />
paket add Moksy --version 1.0.18
#r "nuget: Moksy, 1.0.18"
// Install Moksy as a Cake Addin #addin nuget:?package=Moksy&version=1.0.18 // Install Moksy as a Cake Tool #tool nuget:?package=Moksy&version=1.0.18
[NOTE: Manifest Bug prevents Nuget package from working! Be gentle... it's my first Nuget attempt! Clone from Github and build from Source for now... will fix soon] 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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Newtonsoft.Json (>= 6.0.3)
- RestSharp (>= 104.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
[NOTE: Manifest Bug prevents Nuget package from working! Be gentle... it's my first Nuget attempt! Clone from Github and build from Source for now... will fix soon]
First release of Moksy: a Web Service Mocking/Faking/Simulation Framework