Testing.Commons 3.0.0

dotnet add package Testing.Commons --version 3.0.0                
NuGet\Install-Package Testing.Commons -Version 3.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Testing.Commons" Version="3.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Testing.Commons --version 3.0.0                
#r "nuget: Testing.Commons, 3.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Testing.Commons as a Cake Addin
#addin nuget:?package=Testing.Commons&version=3.0.0

// Install Testing.Commons as a Cake Tool
#tool nuget:?package=Testing.Commons&version=3.0.0                

What

Testing.Commons contains classes and extensions that help testing code in general and more specific areas such as configuration and web artifacts.

testing.commons build

Why

For some time now I have been testing code from different applications using different testing frameworks. Testing frameworks are awesome (some more than others) but they cannot cover all cases I found and sometimes they should not even try.

When some help to perform certain tasks was needed helpers, techniques and extensions have been developed or found and borrowed. I want to share some of those and maybe people can contribute with their own useful trickery.

How

Testing.Commons (the project) is made up of three (so far) differentiated libraries

Testing.Commons

Testing.Commons (the library) contains shared artifacts that can be applied to any testing framework. It contains no external dependencies outside the .NET Framework itself.

Testing.Commons.NUnit

Most of the work that has given born to this project has been developed using NUnit. NUnit offers multiple extensibility points of which I have taken advantage to extend what the framework can do for me. This library will contain NUnit-dependant code, mostly custom constraints.

Testing.Commons.ServiceStack

DEPRECATED <br/> Having moved to target .NET 6 (previously .NET Core), Testing.Commons.ServiceStack has been deprecated and will not be receiving further improvements.

ServiceStack has turned into my default weapon of choice when developing services.

Although it does not receive the focus on testing like other frameworks (such as NancyFx), with very little extra work, you can test your services end to end (should you want to do so) or test a single feature of your services in an integrated manner.

Testing.Commons.ServiceStack provides that extra work, so that you only focus in what is important: the correctness of your services.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Testing.Commons:

Package Downloads
Testing.Commons.NUnit

Utility classes and extensions to facilitate testing with NUnit.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0 494 9/11/2023
2.0.0.1 10,851 8/22/2017
2.0.0 6,216 4/16/2017
1.7.0 3,350 7/19/2016
1.6.0.20151022 1,209 10/22/2015
1.6.0 1,999 9/7/2015
1.5.0 1,524 8/26/2015
1.4.0 1,740 7/21/2015
1.3.1 1,508 8/14/2013
1.3.0 1,682 6/5/2012
1.2.0 1,694 11/23/2011
1.1.0 7,982 10/31/2011
1.0.1 1,808 10/16/2011
1.0.0 1,815 10/2/2011
0.4.0 1,518 9/21/2011
0.3.0 1,514 9/15/2011
0.2.0 1,509 9/13/2011
0.1.0 1,559 8/27/2011