https://github.com/dgg/testing-commons
Classes and extensions that help testing code in general and more specific areas such as configuration and web artifacts.
https://github.com/dgg/testing-commons
constraints helpers integration-testing nunit servicestack testing unit-testing utility utility-library
Last synced: 3 months ago
JSON representation
Classes and extensions that help testing code in general and more specific areas such as configuration and web artifacts.
- Host: GitHub
- URL: https://github.com/dgg/testing-commons
- Owner: dgg
- License: bsd-3-clause
- Created: 2015-10-20T13:21:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-11-28T07:53:38.000Z (5 months ago)
- Last Synced: 2025-11-30T17:23:38.230Z (5 months ago)
- Topics: constraints, helpers, integration-testing, nunit, servicestack, testing, unit-testing, utility, utility-library
- Language: C#
- Homepage:
- Size: 36.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What
**Testing.Commons** contains classes and extensions that help testing code in general and more specific areas such as configuration and web artifacts.
[](https://github.com/dgg/testing-commons/actions/workflows/build.yml)




# 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](http://www.nunit.com).
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**
> Having moved to target .NET 6 (previously .NET Core), _Testing.Commons.ServiceStack_ has been deprecated and __will not__ be receiving further improvements.
~~[ServiceStack](https://github.com/ServiceStackV3/ServiceStackV3) 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](http://nancyfx.org/)),
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.~~