Found 48 packages
It's faking amazing! The easy mocking library for .NET that works great in C# and VB.NET alike. No need to know the difference between a stub, a mock or a spy, everything's a fake! The easy to use, refactoring friendly API makes faking a breeze.
EasyDoubles - Test Doubles Framework
Autofac extension supporting generation of FakeItEasy objects.
A library of interface doubles to be used in place of .NET Framework types
Testing doubles for EntityFramework.
Autofac extension supporting generation of NSubstitute objects.
Test doubles, such as dummies and stubs, useful in setting up unit and integration tests for OnTopic.
Package Description
Package Description
DoubleDice relay game SDK for GameService - client-authoritative multiplayer game
Builds on types of the ConstTypeArgs.Core library to provide const type arguments that allow you to use type parameters to pass double values to generics at compile-time. This provides an analog to type specialization in C++, and can be used for scenarios such as: * Static configuration, * Eliminating unnecessary instance constructors, * "Passing" values to type initializers, * And more. Built-in const type arguments include Default, MinValue, MaxValue, E, Epsilon, Pi, Phi, Tau, NaN, PositiveInfinity, NegativeInfinity, and _0. Here's a simple demonstration showing how to define and use const type arguments and domain-specific type arguments: using ConstTypeArgs.Doubles; // Const type arguments: public readonly struct _1_2345 : K_Double<_1_2345> { public static double Value = 1.2345; } public readonly struct _6_789 : K_Double<_6_789> { public static double Value = 6.789; } public abstract class DefaultValue : Double<_1_2345> { } // Usage: public static class Foo<TDouble> where TDouble : K_Double { private static readonly double Value = TDouble.Value; } // Elsewhere: Console.WriteLine($"Foo's value if default: {Foo<DefaultValue>."); Console.WriteLine($"Foo's non-default value: {Foo<_6_789>.Value}.");
C# Source Generator for Strongly-Typed Mocks and Fakes
Extension methods, DataAnnotations and Test Doubles to enhance the unit tests.
Deleporter Core (use Deleporter.Server/Deleporter.Client for easy setup) - Simple Cross Process Stubbing. Deleporter is a lightweight .NET library that teleports arbitrary delegates into an ASP.NET application in some other process (e.g. hosted in IIS) and runs them there. One use case is stubbing out dependencies when running automated browser tests. See author Steve Sanderson's excellent post on Deleporter at http://blog.stevensanderson.com/2010/03/09/deleporter-cross-process-code-injection-for-aspnet. Source code available at https://github.com/StuartLeitch/Deleporter.
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.
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.
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.
Datatypes on steroids with tracking/events when values change. Used to enhance performance for computationally intensive programs and/or to minimize saves to a database.
Mathematical operations and extensions to compare doubles.
Mocklis is a library and source code generator for .net, targeted at generating test doubles from interfaces. Mocklis.Core contains classes and interfaces used by the generated test doubles. See also the Mocklis package for a more comprehensive set of tools for writing tests using the generated code.