Top 20 NuGet netfx Packages
Use code snippet 'assertion' to get the declaration at the top of the file.
Then just use Assert.Equal(...) and the like.
Generates Lorem Ipsum words for use in tests.
Provides the core interfaces to implement a domain context, which is a combination of the repository and the unit of work patterns, leveraging Linq for the aggregate root sets.
xUnit tests for netfx-Patterns.EventSourcing.SampleFileSystem
Provides strong-typed persistence of data in an AppDomain, which can also be transient and automatically removed on dispose.
Usage: AppDomain.CurrentDomain.SetData<Foo>(foo);
var saved = AppDomain.CurrentDomain.GetData<Foo>();
Tests for netfx-System.AppDomainData.Tests
Provides extension methods that allow to treat collections, enumerables and lists as covariant of a generic type other than their constructed type (i.e. for down-casting collections).
xUnit Tests for netfx-System.Collections.Generic.CovariantExtensions
Converts a date time to a readable natural time (i.e. '10 hours', '2 years') or relative time (i.e. '5 days ago').
xUnit tests for netfx-System.Collections.Generic.DateTimeToNaturalTime
Finds a value by key in the dictionary, or returns the default value for TValue. Just like Linq FirstOrDefault().
xUnit tests for netfx-System.Collections.Generic.DictionaryFind
Provides the GetOrAdd extension method for generic dictionaries, borrowed from the ConcurrentDictionary class.
Hate checking for nulls in Linq queries? Turn any null enumerable into an empty one as needed!
var id = schema.Elements.EmptyIfNull().FirstOrDefault(x => x == "Id")
xUnit Tests for netfx-System.Collections.Generic.IEnumerable.EmptyIfNull
Provides the missing KeyValuePair.Create static method, following the same approach as the Tuple.Create one to avoid having to type
the generic argument parameters and leverage type inference instead: i.e. KeyValuePair.Create("max", 25) creates a KeyValuePair<string, int>.
Provides dinamic filtering of parts and exports from an underlying reflection-based catalog using a simple lambda expression that can inspect the export, its metadata and its exporting reflected type (part).
Example: var filtered = new FilteringReflectionCatalog(innerCatalog)
{
// Filter all parts...
xUnit tests for netfx-System.Componentmodel.LocalizableAttributes
Provides full reflection capabilities using C# 4.0 dynamic syntax, including invoking and accessing public, internal or private, instance or static members including constructors.
Tests for netfx-System.IO.StreamWriteTo