Giter Club home page Giter Club logo

nunit-transforms's Introduction

Forked from NUnit repo

We forked this NUnit repo since there are some value that we want to add or remove in the xlst to be used personally in our CI/CD process

NUnit Transforms

This project is a collection of contributed XSLT transforms for use with the NUnit result file.

Each transform is found in a separate folder, which contains the transform plus other files provided by the author, normally a README and LICENSE. The NUnit team does not maintain these contributions. Please read the README for each one and contact the author about any problems or other assistance needed with the particular transform.

Included Contributions

Folder Purpose Author
nunit3-junit Converts NUnit3 results to JUnit-style results. Paul Hicks
nunit3-summary Converts NUnit3 results to reports similar to those produced by the console runner. Charlie Poole
nunit2-summary Converts NUnit2 results to reports similar to those produced by the console runner. Charlie Poole
nunit3-bootstrap Converts NUnit3 results to rich html report using Bootstrap. Jim Scott

How to Use the Transforms

The transforms may be applied to the NUnit TestResult.xml output either through the NUnit 3 console runner or independently after a test run has completed.

Using With NUnit3 Console

Transforms that work against the nunit3 result format are found in subfolders named like "nunit3-XXXX".

You may apply these transforms using the nunit3-console --result option. Use a command-line similar to this:

nunit3-console.exe my.test.dll --result=my.test.summary.txt;transform=text-summary.xslt

If you use one of the HTML transforms, you will want to change the file type of the result output.

Note that the --result option may be repeated to create several reports. If you use the above command-line, the default TestResult.xml will not be saved. If you want it to be saved as well, use a command like this:

nunit3-console.exe my.test.dll --result=my.test.summary.txt;transform=text-summary.xslt --result=TestResult.xml

Applying the Transform Independently

If you want to use one of the transforms separately, after the test run, you will need to use a program that can apply an XSLT transform to an XML file. As always, the input file must be in the correct format (nunit2 or nunit3) for the particular transform you are using.

Since the V2 console runner doesn't support use of transforms, this is the only way to transform V2 output.

nunit-transforms's People

Contributors

charliepoole avatar hendri-voodoo avatar jscott-concord avatar pavlo-liapota avatar tarfert avatar

Watchers

 avatar  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.