Buildkite.TestAnalytics.Xunit 0.1.1

dotnet add package Buildkite.TestAnalytics.Xunit --version 0.1.1                
NuGet\Install-Package Buildkite.TestAnalytics.Xunit -Version 0.1.1                
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="Buildkite.TestAnalytics.Xunit" Version="0.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Buildkite.TestAnalytics.Xunit --version 0.1.1                
#r "nuget: Buildkite.TestAnalytics.Xunit, 0.1.1"                
#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.
// Install Buildkite.TestAnalytics.Xunit as a Cake Addin
#addin nuget:?package=Buildkite.TestAnalytics.Xunit&version=0.1.1

// Install Buildkite.TestAnalytics.Xunit as a Cake Tool
#tool nuget:?package=Buildkite.TestAnalytics.Xunit&version=0.1.1                

Buildkite Test Collector for .NET (Beta)

The official .NET adapter for Buildkite Test Analytics which collects information about your tests.

This package provides the XUnit test runner integration for the Buildkite Test Analytics product.

👉 Installing

  1. Create a test suite, and copy the API token that it gives you.

  2. Add Buildkite.TestAnalytics.Xunit to your list of dependencies in your Xunit test project:

$ dotnet add package Buildkite.TestAnalytics.Xunit
  1. Set up your API token

Add the BUILDKITE_ANALYTICS_TOKEN environment variable to your build system's environment.

  1. Run your tests

Run your tests like normal. Note that we attempt to detect the presence of several common CI environments, however if this fails you can set the CI environment variable to any value and it will work.

$ dotnet test Buildkite.TestAnalytics.Tests
  1. Verify that it works

If all is well, you should see the test run in the test analytics section of the Buildkite dashboard.

🔜 Roadmap

See the GitHub 'enhancement' issues for planned features. Pull requests are always welcome, and we’ll give you feedback and guidance if you choose to contribute 💚

⚒ Developing

  1. Cloning the repository.
  2. Run the tests: dotnet test

Useful resources for developing collectors include the Buildkite Test Analytics docs and the RSpec and Minitest collectors.

👩‍💻 Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/buildkite/test-collector-python

🚀 Releasing

  1. Version bump the code, tag and push.

  2. Publish to NuGet.

  3. Create a new github release.

📜 License

The package is available as open source under the terms of the MIT License.

🤙 Thanks

Thanks to the folks at Alembic for building and maintaining this package.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.1.1 136,035 8/3/2022
0.1.0 235 8/3/2022