Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for merging multiple coverage profiles #89

Closed
lyyyuna opened this issue Aug 3, 2020 · 1 comment · Fixed by #91
Closed

add support for merging multiple coverage profiles #89

lyyyuna opened this issue Aug 3, 2020 · 1 comment · Fixed by #91
Labels
enhancement New feature or request

Comments

@lyyyuna
Copy link
Collaborator

lyyyuna commented Aug 3, 2020

No description provided.

@lyyyuna lyyyuna added the enhancement New feature or request label Aug 3, 2020
@CarlJi
Copy link
Collaborator

CarlJi commented Aug 4, 2020

we already use such function like https://github.com/qiniu/goc/blob/master/pkg/cover/server.go#L174

	merged, err := cov.MergeMultipleProfiles(mergedProfiles)
	if err != nil {
		c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
		return
	}

Based on the function , we probably just need implement a subcommand like goc merge cov1 cov2 cov3 ... to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants