![]() |
VOOZH | about |
dotnet add package Frank.Testing.Logging --version 2.0.0
NuGet\Install-Package Frank.Testing.Logging -Version 2.0.0
<PackageReference Include="Frank.Testing.Logging" Version="2.0.0" />
<PackageVersion Include="Frank.Testing.Logging" Version="2.0.0" />Directory.Packages.props
<PackageReference Include="Frank.Testing.Logging" />Project file
paket add Frank.Testing.Logging --version 2.0.0
#r "nuget: Frank.Testing.Logging, 2.0.0"
#:package Frank.Testing.Logging@2.0.0
#addin nuget:?package=Frank.Testing.Logging&version=2.0.0Install as a Cake Addin
#tool nuget:?package=Frank.Testing.Logging&version=2.0.0Install as a Cake Tool
A set of nugets to allow for easier testing of dotnet code using xUnit
👁 GitHub contributors
👁 GitHub Release Date - Published_At
👁 GitHub last commit
👁 GitHub commit activity
👁 GitHub pull requests
👁 GitHub issues
👁 GitHub closed issues
Install-Package Frank.Testing
dotnet add package Frank.Testing
using Xunit;
using Xunit.Abstractions;
public class MyTestClass
{
private readonly ITestOutputHelper _outputHelper;
public MyTestClass(ITestOutputHelper outputHelper)
{
_outputHelper = outputHelper;
}
[Fact]
public void MyTestMethod()
{
_outputHelper.WriteLine(new { MyProperty = "MyValue" }); // Writes to test output as JSON: {"MyProperty":"MyValue"}
_outputHelper.WriteJson(new { MyProperty = "MyValue" }); // Writes to test output as JSON: {"MyProperty":"MyValue"}
}
[Fact]
public void MyTestMethod2()
{
_outputHelper.WriteCSharp(new { MyProperty = "MyValue" }); // Writes to test output as C#: var anonymousType = new { MyProperty = "MyValue" };
}
[Fact]
public void MyTestMethod3()
{
_outputHelper.WriteXml(new MyClass() { Name = "MyName" }); // Writes to test output as XML: <MyClass><Name>MyName</Name></MyClass>
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on Frank.Testing.Logging:
| Package | Downloads |
|---|---|
|
Frank.Testing.TestBases
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 337 | 4/13/2025 |
| 1.8.24-preview | 285 | 4/13/2025 |
| 1.8.0 | 405 | 6/24/2024 |
| 1.7.16-preview | 197 | 6/24/2024 |
| 1.7.15-preview | 313 | 3/4/2024 |
| 1.7.0 | 359 | 3/3/2024 |
| 1.6.14-preview | 339 | 3/3/2024 |
| 1.6.0 | 519 | 1/29/2024 |
| 1.5.12-preview | 340 | 1/29/2024 |
| 1.5.0 | 369 | 1/28/2024 |
| 1.4.11-preview | 362 | 1/28/2024 |
| 1.4.0 | 417 | 1/22/2024 |
| 1.3.10-preview | 385 | 1/22/2024 |
| 1.3.9-preview | 375 | 1/21/2024 |
| 1.3.8-preview | 421 | 1/21/2024 |
| 1.3.0 | 408 | 1/14/2024 |
| 1.2.0 | 529 | 1/3/2024 |
| 1.1.6-preview | 435 | 1/3/2024 |
| 1.1.0 | 495 | 1/3/2024 |
| 1.0.4-preview | 413 | 1/3/2024 |