Found 51 packages
An extendible implementation of the Assert class in MSTest. Allows for extending the Assert methods with the default MSTest methods as a default. Includes a: * Throws() method for asserting exceptions. * ThrowsAsync() method for asserting exceptions for async methods. INSTRUCTIONS: In your test class, inherit from MsTestExtensions.BaseTest. Type Assert.Throws() or Assert.ThrowsAsync().. that's it! All of the standard Assert. methods from MsTest will still be available. Project page can be found at: https://github.com/bbraithwaite/MSTestExtensions
ExceptionAssert for MSTest to test for exception throws
Throws.Net
Package Description
SubSonic is A Super High-fidelity Batman Utility Belt that works up your Data Access (using Linq in 3.0), throws in some much-needed utility functions, and generally speeds along your dev cycle.
A Simple Library that throws exceptions for common use-cases in a single line.
Provides a set of Exception oriented extension methods methods extending from Xunit.
Guard and Validator library. Example: Guard.That(arg1).IsNotNull().GreaterThan(100); Throws an exception if conditions are not met. Supports the ability to get a list of the failed conditions.
Deep fork of the Seterlund.CodeGuard library. Example: Guard.That(arg1).IsNotNull().GreaterThan(100); Throws an exception if conditions are not met.
Check that switch statement covers all cases for enumerations, all Interface implementations or base class inheritors. Additional rule to check - switch statement doesn't have "default" branch or this branch throws exception.
.NET Core port of Seterlund.CodeGuard, a Guard and Validator library. Example: Guard.That(arg1).IsNotNull().GreaterThan(100); Throws an exception if conditions are not met. Supports the ability to get a list of the failed conditions.
Get/Post/Put/Delete extensions that Throws meaningful exception for unsuccessfult status codes.
DynamicBarcode Creator is an easy to use, 100% managed .NET library designed for efficient barcode image creation from any Windows, Web or WPF applications. DynamicBarcode Creator for .NET has the capability to output many linear and 2-D barcode types (Data Matrix, PDF417, QR Code and many more) in several image formats (JPEG, PNG, TIFF, GIF & BMP). DynamicBarcode Creator is backed by a great team of developers and support staff. Flexible licensing (including royalty free) is available to meet all your needs. Release Notes: * Throws a meaningful exception when the data does not fit.
C# source implementation that enhances LINQ to Objects with the method SingleOrFallback. Returns the single element in the given sequence, or the result of executing a fallback delegate if the sequence is empty. This method throws an exception if there is more than one element in the sequence.
Pure.DI is not a framework or library, but a source code generator for creating object graphs. To make them accurate, the developer uses a set of intuitive hints from the Pure.DI API. During the compilation phase, Pure.DI determines the optimal graph structure, checks its correctness, and generates partial class code to create object graphs in the Pure DI paradigm using only basic language constructs. The resulting generated code is robust, works everywhere, throws no exceptions, does not depend on .NET library calls or .NET reflections, is efficient in terms of performance and memory consumption, and is subject to all optimizations. This code can be easily integrated into an application because it does not use unnecessary delegates, additional calls to any methods, type conversions, boxing/unboxing, etc.
Represents a validator that simplifies checking method and constructor arguments and throws the appropriate exceptions.
ASSERTHELPERS AssertIsMessage Check to make sure the Message from the exception is the message you provide. ThrowsException Makes sure the provided exception has been thrown and that it has the message if provided
Parameter guard extensions for .NET that checks that a parameter meets the requirements and throws an ArgumentException if it doesn't.
### RavenDb Client power tools for RavenDb 3.0 - Powerful InitializeWithDefaults(..) method (to replace the Initialize() method). - Can seed data. - Can create indexes by list or assemblies. - Can throws an exception when the Database has an error (Asserting for errors). ------------------------------------------------ RavenDb is a nice Database to work with, but at times there's a lot of tweaks and ceremony required to just 'set stuff up'. This is -really- noticeable when you're writing tests. This library reduces the code required to take advantage of the power found in RavenDb by setting up the Database programatically to do what you want it to do.