No description
Find a file
Alexander Vasilyev 54ab7b69d1 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-27 22:32:10 +03:00
batcher batcher: try fixing submissions by adding empty source file to slow subpkg. 2020-03-27 15:01:57 +03:00
coverme Add coverpkg specification. 2020-03-27 22:32:10 +03:00
digitalclock Rewrite require.Nil(t, err) with require.NoError(t, err). 2020-03-13 00:12:46 +03:00
docs docs/testtool.md: fix grammar. 2020-02-14 22:36:18 +03:00
externalsort externalsort: make merge test stronger. 2020-03-18 01:04:54 +03:00
fetchall Add linter section to some readme files. 2020-02-22 03:29:32 +03:00
hogwarts Fix style 2020-03-06 00:02:39 +03:00
hotelbusiness Fix style 2020-03-06 00:02:39 +03:00
keylock Merge branch 'master' of gitlab.com:slon/shad-go-private 2020-03-16 16:26:46 +03:00
lectures Fix lecture 2020-03-26 17:57:49 +03:00
lrucache Swap actual and expected in require.Equal. 2020-03-23 22:25:07 +03:00
olympics olympics: simplify ReadDir error check. 2020-03-13 00:06:24 +03:00
otp Fix 2020-03-05 23:57:41 +03:00
pubsub Add pubsub task 2020-03-26 17:42:29 +00:00
retryupdate Update README.md 2020-03-14 14:12:01 +00:00
sum Update README.md 2020-02-23 09:36:15 +00:00
testequal Update string case in TestEqual assertions_test.go 2020-03-27 12:00:00 +03:00
tools/testtool Add coverpkg specification. 2020-03-27 22:32:10 +03:00
tour0 Update tour0 README 2020-02-14 13:37:35 +03:00
tparallel tparallel: fix typos in readme. 2020-03-20 02:50:25 +03:00
urlfetch Add linter section to some readme files. 2020-02-22 03:29:32 +03:00
urlshortener readme fixes 2020-02-22 02:43:06 +03:00
utf8 Combine utf8reverse and utf8spacecollapse into single umbrella utf8 task. 2020-02-26 23:26:57 +03:00
varfmt Update fmt_test.go 2020-03-03 15:42:11 +03:00
varjoin Fix join code template 2020-02-27 17:43:26 +03:00
wordcount Add linter section to some readme files. 2020-02-22 03:29:32 +03:00
.deadlines.yml Releasing pubsub. 2020-03-26 20:50:16 +03:00
.gitignore Update .gitignore 2020-02-23 14:33:54 +03:00
.gitlab-ci.yml Add 10m limit to grade job. 2020-03-17 01:08:46 +03:00
.golangci.yml Add golangci-lint config 2020-02-14 15:55:25 +03:00
.releaser-ci.yml Testing lecture 2020-03-19 15:47:16 +03:00
build.docker Add golangci-lint config 2020-02-14 15:55:25 +03:00
CONTRIBUTING.md Add CONTRIBUTING.md 2020-02-01 21:14:29 +03:00
go.mod Adding todo-app coverage task. 2020-03-20 00:57:07 +03:00
go.sum Adding todo-app coverage task. 2020-03-20 00:57:07 +03:00
README.md Fix README.md 2020-02-26 21:39:45 +03:00
testenv.docker Fix 2020-02-13 03:07:21 +03:00

Курс по Го в ШАД

Для работы с кодом нужен go 1.13 или выше.

git clone https://gitlab.com/slon/shad-go.git
go test ./sum/...

Проект можно открыть в любой go IDE с поддержкой модулей.

Информация