Sondor.Tests 1.0.3

dotnet add package Sondor.Tests --version 1.0.3
                    
NuGet\Install-Package Sondor.Tests -Version 1.0.3
                    
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="Sondor.Tests" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sondor.Tests" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="Sondor.Tests" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sondor.Tests --version 1.0.3
                    
#r "nuget: Sondor.Tests, 1.0.3"
                    
#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.
#:package Sondor.Tests@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sondor.Tests&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=Sondor.Tests&version=1.0.3
                    
Install as a Cake Tool

Sondor Tests

Sondor Tests is a library of classes and methods to help you write tests for your code. It provides a set of utilities to make it easier to write unit tests, integration tests, and functional tests.

Content

  1. Test arguments
  2. NUnit

Test arguments

Name Type Description
Boolean BoolArgs An extendable IEnumerable providing the range of values availables for bool type.
Byte ByteArgs An extendable IEnumerable providing the range of values availables for byte type.
DateTime DateTimeArgs An extendable IEnumerable providing the range of values availables for DateTime type.
DateTimeOffset DateTimeOffsetArgs An extendable IEnumerable providing the range of values availables for DateTimeOffset type.
Decimal DecimalArgs An extendable IEnumerable providing the range of values availables for decimal type.
Double DoubleArgs An extendable IEnumerable providing the range of values availables for double type.
Float FloatArgs An extendable IEnumerable providing the range of values availables for float type.
Guid GuidArgs An extendable IEnumerable providing the range of values availables for Guid type.
Int IntArgs An extendable IEnumerable providing the range of values availables for int type.
Long LongArgs An extendable IEnumerable providing the range of values availables for long type.
SByte SByteArgs An extendable IEnumerable providing the range of values availables for sbyte type.
Short ShortArgs An extendable IEnumerable providing the range of values availables for short type.
String StringArgs An extendable IEnumerable providing the range of values availables for string type.
TimeSpan TimeSpanArgs An extendable IEnumerable providing the range of values availables for TimeSpan type.
UInt UIntArgs An extendable IEnumerable providing the range of values availables for uint type.
ULong ULongArgs An extendable IEnumerable providing the range of values availables for ulong type.
UShort UShortArgs An extendable IEnumerable providing the range of values availables for ushort type.

NUnit

The library supported data driven tests, which allows you to run the same test with different inputs. Ensuring to cover all possible scenarios.

[TestFixture]
public class MyTests
{
    [TestCaseSource(typeof(IntArgs))]
    public void TestWithInt(int value)
    {
        // Arrange
        var expected = value * 2;
        // Act
        var result = MyMethod(value);
        // Assert
        Assert.AreEqual(expected, result);
    }
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Sondor.Tests:

Package Downloads
Sondor.Translations

Sondor translations is aims to provide an easy solution to managing translations, offering easy to use solutions for static and dynamic translations.

Sondor.Tracing.OpenTelemetry

The Sondor Tracing Open Telemetry package, simplifies adding tracing to a .NET solution. Adding support to write traces to a configured Open Telemetry instance.

Sondor.Logging.Loki

The Sondor Loki package, provides a simple and easy to use way to write logs to an instance of Grafana Loki.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3 222 8/17/2025
1.0.2 81 8/16/2025
1.0.1 138 8/11/2025
1.0.0 296 6/18/2025

The initial release.