Code Monkey home page Code Monkey logo

cocoemma-plugin's Introduction

Coco Emma plugin

This plugin allows you to capture EMMA-XML reports generated by Coco and display code coverage statistics. This plugin is not limited to Coco but supports any report in EMMA format.

It displays the coverage statistics for several metrics (function, line, statement block, decision, condition, MC/DC and MCC) at for the source files, the classes and the functions of the covered code.

For each metric, it is possible to define a target threshold and the coverage statistics can be graphically followed through a time graph.

Usage

General configuration

The plugin provides the post-build Record Coco Emma Coverage Report action. The action allows configuring paths to the EMMA-xml report files.
The path is relative to the workspace root of the Jenkins job.

Once the path is configured and points to the generated EMMA XML file, a user can define health report thresholds.

Coco configuration

As first step, it is necessary to add a post-build rule to create an EMMA report from the .csmes file. For this, cmreport can be used as followings:

$ cmreport -m testsuite.csmes --emma=testsuite.xml

The file testsuite.xml can then be used as input for the post-build Record Coco Emma Coverage Report.

cocoemma-plugin's People

Contributors

adakar avatar alanharder avatar dependabot[bot] avatar jfuerth avatar jlleitschuh avatar manolo avatar ndeloof avatar olivergondza avatar ssogabe avatar stephenc avatar testcocoon avatar webdizz avatar

Stargazers

 avatar  avatar

Watchers

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