Summary
One of the things in the BAAS project which is running behind is the test coverage of the various modules in the program. Although there are many valid ways to measure the quality of the tests; The quantity and coverage is a good way to start. Hence it should probably be an aim of the project to have a coverage of at least 70% throughout the project.
Current state
These are the values calculated by go test ./... -coverprofile on the newest branch of the BAAS project
control_server/api: 20.5%
management_os/entrypoint: 12.5%
pkg/api: 0%
pkg/compression: 34.3%
pkg/database: 0%
pkg/fs: 66.7%
pkg/httplog: 0%
pkg/model: 0%
pkg/util: 0%
Tasks:
Get a coverage of >70%
Summary
One of the things in the BAAS project which is running behind is the test coverage of the various modules in the program. Although there are many valid ways to measure the quality of the tests; The quantity and coverage is a good way to start. Hence it should probably be an aim of the project to have a coverage of at least 70% throughout the project.
Current state
These are the values calculated by
go test ./... -coverprofileon the newest branch of the BAAS projectcontrol_server/api: 20.5%management_os/entrypoint: 12.5%pkg/api: 0%pkg/compression: 34.3%pkg/database: 0%pkg/fs: 66.7%pkg/httplog: 0%pkg/model: 0%pkg/util: 0%Tasks:
Get a coverage of >70%
control_server/apimanagement_os/entrypointpkg/apipkg/compressionpkg/databasepkg/fspkg/httplogpkg/modelpkg/util