Info
Version: | 0.1.7 |
Author(s): | Maxwell Zimon |
Last Update: | Sunday, August 11, 2019 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/frogsquire/shimmy/blob/master/LICENSE.md |
NuGet Url: | https://www.nuget.org/packages/Shimmy |
Install
Install-Package Shimmy
dotnet add package Shimmy
paket add Shimmy
Shimmy Download (Unzip the "nupkg" after downloading)
Dependencies
- Mono.Reflection.Core(>= 1.1.1)
- System.Reflection.Emit.Lightweight(>= 4.3.0)
Tags
Like Pose, Shimmy helps you test your code by replacing calls to methods (including static, non-virtual and even private methods) with delegates (shims). However, with Shimmy, you don't have to write these delegates yourself.
Instead, simply point Shimmy at the method under test, and it will deconstruct said method and generate shims for any calls within it. Then, you can tell Shimmy how those delegates should behave. The work of writing shims is handled entirely by the library, leaving you free to focus on writing tests.
Plus, Shimmy's delegates keep records of the parameters passed to them each time they're called, so you can use them to verify that your program is performing correctly.
Shimmy is based on .NET Standard 2.0 and includes robust cross-platform support.