GithubHelp home page GithubHelp logo

ialcor-zz / go-junit-report Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jstemmer/go-junit-report

0.0 0.0 0.0 178 KB

Convert go test output to junit xml

License: MIT License

Go 100.00%

go-junit-report's Introduction

go-junit-report

Converts go test output to an xml report, suitable for applications that expect junit xml reports (e.g. Jenkins).

Build Status Report Card

Installation

Go version 1.2 or higher is required. Install or update using the go get command:

go get -u github.com/jstemmer/go-junit-report

Usage

go-junit-report reads the go test verbose output from standard in and writes junit compatible XML to standard out.

go test -v 2>&1 | go-junit-report > report.xml

Note that it also can parse benchmark output with -bench flag:

go test -v -bench . -count 5 2>&1 | go-junit-report > report.xml

Contribution

Create an Issue and discuss the fix or feature, then fork the package. Clone to github.com/jstemmer/go-junit-report. This is necessary because go import uses this path. Fix or implement feature. Test and then commit change. Specify #Issue and describe change in the commit message. Create Pull Request. It can be merged by owner or administrator then.

Run Tests

go test

go-junit-report's People

Contributors

jstemmer avatar ikarishinjieva avatar brittinator avatar posener avatar nickpalmer avatar ixdy avatar ascandella avatar jmillikin-stripe avatar johnschnake avatar liggitt avatar mark-rushakoff avatar mattdelco avatar themichaellai avatar nmiyake avatar pascalbourdier avatar nullbio avatar benzaita 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.