DEV Community 👩‍💻👨‍💻

Discussion on: Excluding files from code coverage in GO

Collapse
 
pritamlipu1 profile image
pritamlipu1 • Edited on

go test ./store/... ./server/... -race -v -coverprofile="coverage.out"
where store and server are 2 packages.
Note: "..." is to add subfolders as well.