Giter Site home page Giter Site logo

davidtpate / mocha-sonar-generic-test-coverage-file Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qingguo-yu/mocha-sonar-generic-test-coverage-file

0.0 2.0 0.0 8 KB

The same reporter as mocha-sonar-generic-test-coverage reporter, but writes the output to a file. And some issues fixed.

JavaScript 100.00%

mocha-sonar-generic-test-coverage-file's Introduction

mocha-sonar-generic-test-coverage-file

Build

Basically the same reporter as mocha-sonar-generic-test-coverage reporter(https://github.com/mageddo/mocha-sonar-generic-test-coverage), but writes the output to a file. And some issues fixed.

Why we need to do that? The logging output in the test cases can pollute the final report file when we use capture keyword in grunt.

By default, the output file would be "gunit.xml" located in root folder of the same project.

Notes:

  1. Please use mocha 1.20.1 or later version. Otherwise, file name could be empty in the report file.
  2. Please make sure no duplicated test case names. Otherwise, sonar will fail when uploading report to the server.

mocha-sonar-generic-test-coverage-file's People

Contributors

davidtpate avatar foreverpw avatar qingguo-yu 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.