PiBox.Testing
1.3.2
dotnet add package PiBox.Testing --version 1.3.2
NuGet\Install-Package PiBox.Testing -Version 1.3.2
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="PiBox.Testing" Version="1.3.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PiBox.Testing" Version="1.3.2" />
<PackageReference Include="PiBox.Testing" />
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 PiBox.Testing --version 1.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PiBox.Testing, 1.3.2"
#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 PiBox.Testing@1.3.2
#: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=PiBox.Testing&version=1.3.2
#tool nuget:?package=PiBox.Testing&version=1.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PiBox.Testing.Nunit
How to unit test metric collection
using var metricsCollector = new TestMetricsCollector("my-metric-name");
metricsCollector.CollectedMetrics.Should().BeEmpty();
// do test stuff e.g. call method, etc..
metricsCollector.Instruments.Should().Contain("my-metric-name");
metricsCollector.CollectedMetrics.Should().ContainsMetric(1);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Allure.NUnit (>= 2.12.1)
- Bogus (>= 35.4.0)
- Chronos.Net (>= 2.0.24)
- Microsoft.EntityFrameworkCore (>= 8.0.12)
- Microsoft.EntityFrameworkCore.Relational (>= 8.0.12)
- Microsoft.Extensions.Configuration (>= 8.0.0)
- NaughtyStrings.Bogus (>= 2.4.1)
- NSubstitute (>= 5.3.0)
- NUnit (>= 4.3.2)
- NUnit.Analyzers (>= 4.6.0)
- PiBox.Hosting.Abstractions (>= 1.3.2)
- PiBox.Plugins.Persistence.Abstractions (>= 1.3.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.3.2 | 240 | 4/4/2025 |
1.2.2 | 546 | 3/26/2025 |
1.1.8 | 320 | 2/3/2025 |
1.1.6 | 152 | 2/3/2025 |
1.0.91 | 159 | 1/24/2025 |
1.0.85 | 203 | 1/15/2025 |
1.0.79 | 170 | 12/20/2024 |
1.0.73 | 144 | 10/22/2024 |
1.0.66 | 308 | 10/15/2024 |
1.0.64 | 180 | 10/14/2024 |
1.0.61 | 179 | 10/1/2024 |
1.0.60 | 174 | 9/27/2024 |
1.0.54 | 356 | 4/30/2024 |
1.0.51 | 188 | 2/27/2024 |
1.0.49 | 165 | 2/27/2024 |
1.0.47 | 164 | 2/21/2024 |
1.0.45 | 186 | 2/20/2024 |
1.0.43 | 174 | 2/13/2024 |
1.0.41 | 161 | 2/13/2024 |
1.0.39 | 185 | 2/8/2024 |
1.0.38 | 170 | 2/8/2024 |
1.0.37 | 165 | 2/8/2024 |
1.0.35 | 154 | 2/2/2024 |
1.0.32 | 170 | 1/30/2024 |
1.0.25 | 271 | 12/27/2023 |
1.0.23 | 214 | 12/19/2023 |
1.0.22 | 190 | 12/19/2023 |
1.0.21 | 168 | 12/19/2023 |
1.0.19 | 182 | 12/11/2023 |
1.0.17 | 201 | 11/23/2023 |
1.0.7 | 150 | 11/23/2023 |
1.0.5 | 175 | 11/23/2023 |
1.0.3 | 155 | 11/23/2023 |
1.0.0 | 163 | 11/21/2023 |
0.9.9 | 153 | 11/21/2023 |
0.9.7 | 169 | 11/21/2023 |
0.9.6 | 182 | 11/21/2023 |