make fullcover - coverage testing on a package using all other packages
MERGE REQUEST
Overview
I add a new command to the Makefile that allows us to see the coverage of a package for all tests. The previous coverage command could only tell you code coverage from the same package (so ./modules/renter would only show coverage from tests in ./modules/renter), but this command allows you to see the coverage from all packages (the coverage output for ./modules/renter includes the coverage output from ./modules/renter, ./siatest/renter, ./siatest/renter/contractor, etc)
Note that you have to run the entire test suite to get the output for just a single package. It's not very efficient but at this time I don't know of a way to produce coverage for more than one package at a time when running a test.
Example for Visual changes (ie Screenshot)
Issues Closed
Checklist
Review and complete the checklist to ensure that the MR is complete before assigned to an approver.
-
All new methods, or updating methods have clear docstrings -
Testing added or updated for new methods -
Any new packages are added to Makefile and .gitlab-ci.yml -
API documentation updated for API updates -
Module README.md updated for changes to work flow -
Issue added to Sia-UI repo for new supporting features