Found 45 packages
Allows your class under test to be created, automatically creating mocks for all its constructor parameters
Many components of the System.Web.Security namespace are static methods that are difficult to mock or stub for testing. MockableWebSecurity wraps many of these classes in interfaces with proxy implementations allowing for more easy creation of testable code.
A mockable wrapper for System.Net.Http.HttpClient.
A C# source generator to help developers to write interface and class wrappers for whole static methods of an assembly for mocking easier.
Things I commonly need to mock out
Scaffold code generator for generating wrapper class to any existing non-testable classes such static classes and .Net libraries like System.IO. Very useful for doing TDD and decoupling dependencies to 3rd party libraries. Usage: On Package Manager Console type the following command: Scaffold Wrapper {[Namespace].ClassName} Examples: Scaffold Wrapper System.IO.Directory Scaffold Wrapper System.IO.FileSystemWatcher Scaffold Wrapper System.IO.File Note: Reference assemblies must be already referenced to your project before generating wrapper class.
A testable logger adapter for Microsoft.Extensions.Logging.ILogger that enables easy mocking and verification of log calls using a compatible mocking framework. Provides explicit interface methods for all logging operations including structured logging, exceptions, EventIds, and scopes.
Mockable System IO FileSystem Queue
King.Azure.Data Class Library
Azure.Data.Wrappers Class Library
Simple, type-safe, mockable, and json-based extension of the native HttpClient class
This package provides automatic Automatic Factory functionality similar to Castle.Windsor Typed Factories, for the Autofac IoC container.
An injectable, mockable source of the current date and time.
This source-only package provides an abstraction for System.DateTime that is mockable
Mockable HTTP Helper for.NET2.0+/SL4+/WP7/WinRT (supports Task Parallel Library/async/await)
A mockable proxy for SmptClient.