Testing.Commons
3.0.0
dotnet add package Testing.Commons --version 3.0.0
NuGet\Install-Package Testing.Commons -Version 3.0.0
<PackageReference Include="Testing.Commons" Version="3.0.0" />
paket add Testing.Commons --version 3.0.0
#r "nuget: Testing.Commons, 3.0.0"
// 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.
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 | Versions 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. |
-
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 | 476 | 9/11/2023 |
2.0.0.1 | 10,747 | 8/22/2017 |
2.0.0 | 6,199 | 4/16/2017 |
1.7.0 | 3,341 | 7/19/2016 |
1.6.0.20151022 | 1,204 | 10/22/2015 |
1.6.0 | 1,994 | 9/7/2015 |
1.5.0 | 1,519 | 8/26/2015 |
1.4.0 | 1,733 | 7/21/2015 |
1.3.1 | 1,503 | 8/14/2013 |
1.3.0 | 1,677 | 6/5/2012 |
1.2.0 | 1,689 | 11/23/2011 |
1.1.0 | 7,895 | 10/31/2011 |
1.0.1 | 1,803 | 10/16/2011 |
1.0.0 | 1,810 | 10/2/2011 |
0.4.0 | 1,511 | 9/21/2011 |
0.3.0 | 1,509 | 9/15/2011 |
0.2.0 | 1,502 | 9/13/2011 |
0.1.0 | 1,554 | 8/27/2011 |