Commit graph

11 commits

Author SHA1 Message Date
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
Alexander Vasilyev
f81398290b Remove ignored min coverage comments. 2020-03-27 22:32:10 +03:00
Arseny Balobanov
d025403144 testtool: fix build tag in submission test. 2020-03-23 22:21:42 +03:00
Arseny Balobanov
a9ca8a5c7c Test that testtool won't check coverage of imported package e.g. net/http. 2020-03-19 02:38:45 +03:00
Arseny Balobanov
cd7f4d69f1 Support test coverage requirements via comment. 2020-03-19 01:19:44 +03:00
Arseny Balobanov
6fbbce55b4 Rewrite require.Nil(t, err) with require.NoError(t, err). 2020-03-13 00:12:46 +03:00
Fedor Korotkiy
e2f472d732 Compare benchmarks 2020-02-22 01:23:20 +03:00
Fedor Korotkiy
8eddf48fa9 Run linter on submit 2020-02-14 15:55:25 +03:00
Fedor Korotkiy
0de2390008 Squashed commit of the following:
commit 347ba11cfe4a49bff6fc29063b49416d90525e52
Author: Fedor Korotkiy <prime@yandex-team.ru>
Date:   Sat Feb 8 22:44:26 2020 +0300

    Sandboxed test execution.

commit c5c9557dd59c54971a78d424ec118655f6b2005c
Author: Fedor Korotkiy <prime@yandex-team.ru>
Date:   Sat Feb 8 21:13:13 2020 +0300

    Fix paths used during testing.

commit 1ba21eb0aad08f543c6a99bfd927721207943abb
Author: Fedor Korotkiy <prime@yandex-team.ru>
Date:   Sat Feb 8 20:56:32 2020 +0300

    Helper for process sandboxing

commit 54f0aa11156c1d2c998a060b60be7af8666d5da4
Author: Fedor Korotkiy <prime@yandex-team.ru>
Date:   Sat Feb 8 20:10:56 2020 +0300

    Package list helper.
2020-02-10 16:41:58 +03:00
verytable
ba90f2f10e Add file to testtool's correct submission test. 2020-01-31 23:49:50 +03:00
verytable
ff1e12f5e4 Adding testtool - the submission tester. 2020-01-29 01:42:19 +03:00