zjmnzhgg5jmxw / golang-mergecover Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 3-Clause "New" or "Revised" License
License: BSD 3-Clause "New" or "Revised" License
--------------------------------------------------------------------------- mergecover - merge golang cover profiles across multiple packages --------------------------------------------------------------------------- Usage --------------- $ mergecover outfile infile1 [infile2 ...] Docker --------------- $ docker run wok6fvjui5ur2/mergecover mergecover Compile --------------- Install stack from stackage.org or from your favourite package manager. Then run $ stack init $ stack install Description --------------- At the time of writing this tool, it was not possible with GoLang standard tools to create a Go coverprofile of multiple packages. With merge cover, you can merge multiple cover profiles to one that declares a statement as covered, iff the statement is covered according to one of the cover profiles. Create profiles for each subprofile like that: $ go test --coverpkgs=super... --coverprofile=sub.profile super/sub Merge the profiles: $ mergecover merged.profile *.profile Review the merged profile: $ go tool cover -html=merged.profile Limitations --------------- * "mode: set" is the only one supported * the input cover profiles should be created from one and the same source * the parser for cover profiles is pretty simple, maybe too simple Closing remark --------------- Please report any problems and let me know of GoLang (re-)implementations. ===========================================================================
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.