This website requires JavaScript.
Explore
Help
Register
Sign In
erius
/
shad-go
Watch
1
Star
0
Fork
You've already forked shad-go
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
19d79613cd
shad-go
/
coverme
/
app
/
coverage_test.go
6 lines
77 B
Go
Raw
Normal View
History
Unescape
Escape
Adding todo-app coverage task.
2020-03-19 21:57:07 +00:00
// +build !change
package
app
Add coverpkg specification. Currently, packages in coverme without tests created by student are not checked for coverage, because no there are no test targets for them at all! The issue can be fixed by simply creating empty !change files, but we are engineers, aren't we? :) Bonus point: it prevents new packages from giving false coverage credit. For example, mock file generated by gomock will have lots of covered code almost instantly. However, the task can be hacked by adding new code to existing packages.
2020-03-22 00:26:50 +00:00
// min coverage: app,client,models,utils 90%
Reference in a new issue
Copy permalink