GithubHelp home page GithubHelp logo

meiqimichelle / test-collector-dotnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buildkite/test-collector-dotnet

0.0 1.0 0.0 33 KB

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

License: MIT License

F# 98.37% Dockerfile 1.63%

test-collector-dotnet's Introduction

Buildkite Test Collector for .NET (Beta)

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

โš’ Supported test frameworks: Xunit.

๐Ÿ“ฆ Supported CI systems: Buildkite, GitHub Actions, CircleCI, and others via the BUILDKITE_ANALYTICS_* environment variables.

๐Ÿ‘‰ 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.

test-collector-dotnet's People

Contributors

jimsynz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.