Code Monkey home page Code Monkey logo

code-coverage-widgets's Introduction

code-coverage-widgets's People

Contributors

sdavis3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

code-coverage-widgets's Issues

Allow code coverage percentage to display a few decimal places

When I add the tile, I just see the percentage of code coverage as 78% instead of 78.21%. With larger projects, the code coverage moves in smaller increments as we strive for coverage. It'd be great to be able to configure the widget to include between 0-2 digits after the decimal.

No license

Please supply a license to use this widget, I can't get this past my legal team without rights to use it.

Suggestion - Allow conditional formatting based on rules.

I love the widget you have created and would like to suggest an enhancement for your consideration.

If you look at the Work Item Query widget from Microsoft you can see that you can specify conditional styling rules based on values. I would love to be able to change the colour of the widget background to red if coverage falls below a threshold I set. I'd also love to change the background to green if the coverage exceeds a different value.

Just an idea.

Cheers

Anthony

Code coverage no longer showing since Wednesday 14th April

Hi there, we have been using your code coverage widget for some time now and it has been working great. However since Thursday this week, the code coverage page just comes back blank on all our projects that use it in Azure DevOps.

image

Also getting this error
image

The tests are still running and publishing artefacts
image

Getting Code Coverage of all the builds

Hi,

I actually have one question rather than bug. Say I have x no of builds setup and individual code coverage I am getting. But wanted to check whether I can have one summarized code coverage from all the builds at one place. Means average of all individual code coverages.

Thanks,
Rahul

Cannot add widget to dashboard after installing!

Hi Folks,

For the life of me I can't seem to find the widget to add to the dashboard from my on-premise hosted TFS.

Is it possible that I'm using a version of TFS that is too old to work with this widget?

I am using TFS 2015 and the widget appears to have been installed correctly. I have installed it into my Collection, just can't see it in the list of widgets to add to the dashboard.

I have successfully installed other third-party widgets before.

Any pointers would be helpful!

Display the build definition name on the widget

Similar to Release Definition Overview widget, if the build name can be displayed on the widget, it would help viewer to know the repository/build for which the code coverage is being displayed. Currently, only the one who has configured it would know about the build the code coverage is being displayed for.

Feature request: filter builds used to update widget

We use a single build definition for short lived feature branches as well as master, but this causes reporting problems:

  • Branch builds fail more often, and this causes downtime for the widget (message: No code coverage details found for this build definition)
  • We only want to show the coverage metrics from master on the dashboard

Ideally we would be able to specify a pattern that is checked before the coverage data is updated for either the branch / PR it's related to, or the build name. E.g. in the following we would want to specify master as the branch, or any build under this definition ending in -Dev

image

Coverage Result Discrepancy

More a question than an issue (possibly) we are running coverlet and producing our coverage report in the Cobertura format for visibility to our code coverage in each run in the ADO code coverage tab. Our PM wanted visibility on the dashboard so I gave this a try. In the pipeline it is showing 25.5% (1131 of 4431) for the line coverage, but in the widget it is showing 30.54 Percent (Lines) - is there a know reason for the difference? Thanks

Code coverage not displaying for Vue.js project

We are using your code coverage widget for a number of .Net projects and it works wonderfully. I have not yet been able to display the coverage results for our NPM unit test task.

Is it possible to display coverage results for NPM tasks?

I have the code coverage displaying on build summary tab in devOps:
Screen Shot 2021-03-12 at 10 29 32 AM

But I do not know how to get it to display in the widget:
Screen Shot 2021-03-12 at 10 28 59 AM

Any help with this would be greatly appreciated.

Thanks!

Link to Build is broken - on-prem TFS 2017

This is an on-premise TFS 2017 installation with SR2 RC installed.

Clicking the widget link to a build does not go to a build page.

The build link in the widget is
http://tfs.superoffice.no/CRM/_permalink/_build/index?collectionId=a74dd8d3-e827-45de-b811-1e4345d4e66d&projectId=67030d6c-ebcc-46c5-8ae8-c03506f61905&buildId=113738

This resolves to a new URL
http://tfs.superoffice.no/CRM/SuperOffice/Seven/_build/index?buildId=113738

which is valid if I paste it into the browser.

But the widget gets an error dialog instead - it appears to have lost the session somewhere.

TFS.WebApi.Exception: TF400813: Resource not available for anonymous access. Client authentication required.
at d (http://tfs.superoffice.no/CRM/_public/_Bundling/Content?bundle=vss-bundle-common-vBorZKQWuWjOaGL5y_HJ19KUU63Imvsk8QUghvM7shaE=:52:499)
at http://tfs.superoffice.no/CRM/_public/_Bundling/Content?bundle=vss-bundle-common-vBorZKQWuWjOaGL5y_HJ19KUU63Imvsk8QUghvM7shaE=:52:3381
at g (http://tfs.superoffice.no/CRM/_public/_Bundling/Content?bundle=vss-bundle-common-vBorZKQWuWjOaGL5y_HJ19KUU63Imvsk8QUghvM7shaE=:52:762)
at http://tfs.superoffice.no/CRM/_public/_Bundling/Content?bundle=vss-bundle-common-vBorZKQWuWjOaGL5y_HJ19KUU63Imvsk8QUghvM7shaE=:52:3314
at l (http://tfs.superoffice.no/CRM/_public/_Bundling/Content?bundle=vss-bundle-common-vBorZKQWuWjOaGL5y_HJ19KUU63Imvsk8QUghvM7shaE=:28:8126)
at http://tfs.superoffice.no/CRM/_public/_Bundling/Content?bundle=vss-bundle-common-vBorZKQWuWjOaGL5y_HJ19KUU63Imvsk8QUghvM7shaE=:28:8352
at t.when (http://tfs.superoffice.no/CRM/_public/_Bundling/Content?bundle=vss-bundle-common-vBorZKQWuWjOaGL5y_HJ19KUU63Imvsk8QUghvM7shaE=:28:3784)
at t.u.promiseDispatch (http://tfs.superoffice.no/CRM/_public/_Bundling/Content?bundle=vss-bundle-common-vBorZKQWuWjOaGL5y_HJ19KUU63Imvsk8QUghvM7shaE=:28:2828)
at http://tfs.superoffice.no/CRM/_public/_Bundling/Content?bundle=vss-bundle-common-vBorZKQWuWjOaGL5y_HJ19KUU63Imvsk8QUghvM7shaE=:28:1653
at MessagePort.t (http://tfs.superoffice.no/CRM/_public/_Bundling/Content?bundle=vss-bundle-common-vBorZKQWuWjOaGL5y_HJ19KUU63Imvsk8QUghvM7shaE=:28:5777)

Please add code coverage analysis

Yeah, bigger, but...

I would love a way to drill into the code coverage similar to what we have in VS enterprise. WHich still is worth a premium due to the "in source code" visibility (which means you are limited to what VS can do down in the toolbox). Not everyone has VS Enterprise and particularly when you move online it is usefull to allow this information to go down into what stakeholders can possibly see (increase in code coverage, drilldown to particular sections of code based on namespace).

Request build from other project

hey!
I appreciate your contribution to this widget! It helps our managers to get all data on one dashboard. Thanks!

We have a strange request. Currently, we use several projects in the ADO instance, and historically they are divided not logically. One team has a project with Dashboards but without pipelines. They keep their pipeline in another project. And the current version of the widget is project-based (list the pipelines from the same dashboard project). Is it possible to add a feature that will allow dashboard owners to choose from which project builds need to be shown?

Installation issue

Trying to install on TFS 2017 Update 2. I've downloaded the VSIX package and copied it to our TFS Application server.
When I double click on the package to install it .. it returns the message "This extension is not installable on any currently installed products".

What am I missing? Install log file attached.

VSIXInstaller_install_logfile.txt

Code-Coverage-Widget - build filtering mechanism

This widget is helpful to visualize the code coverage, we appreciate the possibility to display Branch code coverage, but we're running into reporting problems as it's not giving any “filtering mechanism” that could enable us to select only the appropriate release/git branch/tags etc... it just takes the last run of pipelines for the repo. Is there a plan to enhance the widget with a filtering option?

Originally posted by @tvargova in #24 (comment)

[Feature Request]

Is it possible to show code coverage only for some branch?
In our project we are not running code coverage for Feature branches and as a result, quite frequently widget show - no data, but it means only one- latest build was done for feature branch.

It will be nice to have a dropdown with list of branches https://github.com/sdavis3/CodeCoverageDashboardWidgets/blob/master/configuration.html
and show code coverage only for this build (in our case - develop)

P.S. are you open to Pull Requests?

Support dark mode

It would be nice if the new themes can be supported for this widget

Support for TFS 2017 Update 1

It seems the widget is not compatible with TFS 2017 Update 1, is that correct?
After our build server was updated (from TFS 2017), the widget stopped working. When in configuration mode while adding a new widget instance, no build definitions are displayed.

Existing widgets show the following error:

Widget error:
An undefined error occurred while attempting to connect to the server. Status code 0: error.

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.