KiBoards.Xunit
0.2.4-kiboards-management.10
See the version list below for details.
dotnet add package KiBoards.Xunit --version 0.2.4-kiboards-management.10
NuGet\Install-Package KiBoards.Xunit -Version 0.2.4-kiboards-management.10
<PackageReference Include="KiBoards.Xunit" Version="0.2.4-kiboards-management.10" />
<PackageVersion Include="KiBoards.Xunit" Version="0.2.4-kiboards-management.10" />
<PackageReference Include="KiBoards.Xunit" />
paket add KiBoards.Xunit --version 0.2.4-kiboards-management.10
#r "nuget: KiBoards.Xunit, 0.2.4-kiboards-management.10"
#addin nuget:?package=KiBoards.Xunit&version=0.2.4-kiboards-management.10&prerelease
#tool nuget:?package=KiBoards.Xunit&version=0.2.4-kiboards-management.10&prerelease
KiBoards
Provides visualization of unit test results using Elasticsearch and Kibana for Xunit test framework.
Quick Start
In just a few simple steps, you can have your unit test results stored in Elasticsearch.
Create a new Xunit test project.
Add the KiBoards NuGet package to the project.
Include the Xunit test framework attribute
[assembly: TestFramework("KiBoards.TestFramework", "KiBoards.Xunit")]
in your project. Place the attribute only once, in any class, right after theusing
statements and before thenamespace
declaration.The initial unit test class will resemble this:
[assembly: TestFramework("KiBoards.TestFramework", "KiBoards.Xunit")]
namespace Tests
{
public class UnitTest1
{
[Fact]
public void TestSomething()
{
// Your test logic goes here
}
}
}
Now, after your unit tests are executed, the results are saved to the Elasticsearch host defined by the KIB_ELASTICSEARCH_HOST
variable, with a default value of http://localhost:9200.
You can specify KIB_KIBANA_HOST
to automatically build Kibana dashboards like in the example below [http://10.120.235.20:5601]:
The dashboards are created in separate Kibana's space called KiBoards.
Following code demonstrate how to use Restore customized dashboards, create test startup class that executes constructor before tests run.
using System.Reflection;
using Xunit.Abstractions;
[assembly: KiboardsTestStartup("TestStartup.Startup")]
[assembly: KiBoardsSavedObjects()]
[assembly: TestFramework("KiBoards.TestFramework", "KiBoards.Xunit")]
namespace TestStartup;
public class Startup
{
public Startup(IMessageSink messageSink)
{
// Add variable that will be indexed as "variables.VERSION" into elasticsearch
Environment.SetEnvironmentVariable("KIB_VAR_VERSION", Assembly.GetExecutingAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion);
}
}
Created from JandaBox
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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | 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.1
- KiBoards.Abstractions (>= 0.1.0)
- NEST (>= 7.17.5)
- xunit (>= 2.9.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on KiBoards.Xunit:
Package | Downloads |
---|---|
KiBoards
KiBoards offers the capability to visualise test cases and test run results in Kibana. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.2.4 | 0 | 5/24/2025 |
0.2.4-main.1 | 0 | 5/24/2025 |
0.2.4-kiboards-management.11 | 97 | 5/22/2025 |
0.2.4-kiboards-management.10 | 94 | 5/22/2025 |
0.2.4-kiboards-management.9 | 98 | 5/21/2025 |
0.2.4-kiboards-management.7 | 97 | 5/18/2025 |
0.2.3 | 117 | 5/18/2025 |
0.2.3-variable-test-run-id.3 | 138 | 5/16/2025 |
0.2.3-ssl-connection.5 | 133 | 5/16/2025 |
0.2.3-ssl-connection.4 | 149 | 5/16/2025 |
0.2.3-ssl-connection.3 | 148 | 5/16/2025 |
0.2.3-ssl-connection.2 | 144 | 5/16/2025 |
0.2.3-ssl-connection.1 | 147 | 5/16/2025 |
0.2.3-main.3 | 56 | 5/18/2025 |
0.2.3-main.1 | 141 | 5/16/2025 |
0.2.2 | 165 | 5/5/2025 |
0.2.1 | 116 | 5/4/2025 |
0.2.0 | 80 | 5/3/2025 |
0.1.3 | 341 | 11/7/2023 |
0.1.2 | 136 | 11/6/2023 |
0.1.1 | 154 | 10/27/2023 |
0.1.0 | 280 | 10/17/2023 |