robertk66 / vsts-opencover Goto Github PK
View Code? Open in Web Editor NEWvsts extension to run and report coverage using nunit3 and OpenCover
License: MIT License
vsts extension to run and report coverage using nunit3 and OpenCover
License: MIT License
If the OpenCover result file is larger than 65537 bytes the result pages do not render.
Reason is the Usage of the String.fromCharCode in Javascript. This doies not allow for larger binary data.
Comparing numbers from the report artifact with the percentage numbers of the TFS summary page shows differences.
Reason is that the TFS GUI plugin does calculate the numbers directly from result.xml. Interpretation of the result file is done different from the report generator. (e.g. "Lines" are not correctly counted only Sequence points are counted....)
If the repository root, some of the project directories or dll filenames contain a blank in the name the Nunit3 consolen runner does not execute any tests.
as the powershell API only supports upload of nunit2 testresults, this version uses a dummy test result file (which shows always 1 Test as ok) to generate the testrun on which the opencover result xml is then attached.
If I can find a way to convert the Nunit3 test results to something the TFS can understand by uploading, this should be included in the build step.
at least german and english would be nice :-)
If you combine more than one test dll into one single run and there are modules called from more than one test dll then the results are listed as seperate node in the details table.
The coverage of all runs should be combined to a single 'module' result for each module with same unique id. This is also basis to have a correct summary of coverage percentage because you can have one test dll making 10% another 20% but together the covered part could be something between 20% - 30% but you can not only add this values here. You have to combine the different module results and the coverage of sequence/branch points!
This is due to the usage of Junit conversion in between Nunit3 and TFS. Have not checked where the values got mixed up ( in the Nunit XSLT transform or int the Junit Import task in TFS.....)
I hope to find a better/more direct way to import the results iso fixing this convertion.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.