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
<PackageReference Include="Buildkite.TestAnalytics.Xunit" Version="0.1.1" />
paket add Buildkite.TestAnalytics.Xunit --version 0.1.1
#r "nuget: Buildkite.TestAnalytics.Xunit, 0.1.1"
// 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
Create a test suite, and copy the API token that it gives you.
Add
Buildkite.TestAnalytics.Xunit
to your list of dependencies in your Xunit test project:
$ dotnet add package Buildkite.TestAnalytics.Xunit
- Set up your API token
Add the BUILDKITE_ANALYTICS_TOKEN
environment variable to your build system's environment.
- 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
- 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
- Cloning the repository.
- 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
Version bump the code, tag and push.
Publish to NuGet.
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 | Versions 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. |
-
net6.0
- Buildkite.TestAnalytics.Common (>= 0.1.1)
- FSharp.Core (>= 6.0.5)
- xunit (>= 2.4.1)
- xunit.runner.reporters (>= 2.4.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.