Sondor.Tests
1.0.3
dotnet add package Sondor.Tests --version 1.0.3
NuGet\Install-Package Sondor.Tests -Version 1.0.3
<PackageReference Include="Sondor.Tests" Version="1.0.3" />
<PackageVersion Include="Sondor.Tests" Version="1.0.3" />
<PackageReference Include="Sondor.Tests" />
paket add Sondor.Tests --version 1.0.3
#r "nuget: Sondor.Tests, 1.0.3"
#:package Sondor.Tests@1.0.3
#addin nuget:?package=Sondor.Tests&version=1.0.3
#tool nuget:?package=Sondor.Tests&version=1.0.3
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
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 | Versions 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. |
-
.NETStandard 2.0
- Microsoft.Extensions.Configuration (>= 9.0.8)
-
.NETStandard 2.1
- Microsoft.Extensions.Configuration (>= 9.0.8)
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.
The initial release.