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.
#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. |
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 | 121 | 4/4/2025 |
1.2.2 | 472 | 3/26/2025 |
1.1.8 | 241 | 2/3/2025 |
1.1.6 | 99 | 2/3/2025 |
1.0.91 | 107 | 1/24/2025 |
1.0.85 | 151 | 1/15/2025 |
1.0.79 | 107 | 12/20/2024 |
1.0.73 | 101 | 10/22/2024 |
1.0.66 | 251 | 10/15/2024 |
1.0.64 | 130 | 10/14/2024 |
1.0.61 | 139 | 10/1/2024 |
1.0.60 | 123 | 9/27/2024 |
1.0.54 | 309 | 4/30/2024 |
1.0.51 | 148 | 2/27/2024 |
1.0.49 | 115 | 2/27/2024 |
1.0.47 | 137 | 2/21/2024 |
1.0.45 | 136 | 2/20/2024 |
1.0.43 | 134 | 2/13/2024 |
1.0.41 | 127 | 2/13/2024 |
1.0.39 | 139 | 2/8/2024 |
1.0.38 | 125 | 2/8/2024 |
1.0.37 | 120 | 2/8/2024 |
1.0.35 | 116 | 2/2/2024 |
1.0.32 | 122 | 1/30/2024 |
1.0.25 | 226 | 12/27/2023 |
1.0.23 | 170 | 12/19/2023 |
1.0.22 | 150 | 12/19/2023 |
1.0.21 | 119 | 12/19/2023 |
1.0.19 | 147 | 12/11/2023 |
1.0.17 | 183 | 11/23/2023 |
1.0.7 | 115 | 11/23/2023 |
1.0.5 | 140 | 11/23/2023 |
1.0.3 | 127 | 11/23/2023 |
1.0.0 | 138 | 11/21/2023 |
0.9.9 | 125 | 11/21/2023 |
0.9.7 | 142 | 11/21/2023 |
0.9.6 | 152 | 11/21/2023 |