b867c16328
Updated to the most recent version, which uses go 1.22
2024-06-05 20:36:34 +03:00
Sergey Paramoshkin
5d75f1f7fc
update mod && fix links
2023-10-03 20:25:41 +03:00
Sergey Paramoshkin
dc939b6ed1
update repo
2023-10-02 22:32:41 +03:00
Fedor Korotkiy
b93565cd9e
Add wasm task
2023-04-28 00:43:03 +04:00
Fedor Korotkiy
5c8dd14d7e
Support .proto files
2023-04-19 00:28:09 +04:00
Fedor Korotkiy
366976e73a
Try fixing
2023-03-19 00:21:01 +04:00
Fedor Korotkiy
bba9c36214
Fix linter error
2023-03-12 17:27:37 +04:00
Fedor Korotkiy
b39f28cd3d
Fix failure when student added new package with tests
2023-03-12 17:25:51 +04:00
Fedor Korotkiy
1c671bef6c
Redoing public export
2023-03-10 15:23:34 +04:00
Fedor Korotkiy
9ef98a6a00
Remove complex coverage tests
2023-02-22 17:06:08 +04:00
Fedor Korotkiy
a0b7eb9c6d
Revert "Calculate coverage of private code."
...
This reverts commit a56f50ac46
.
2023-02-22 17:02:44 +04:00
Anton Rigin
a914bcd96c
Fix distbuild watch folders (squashed)
2022-04-15 18:05:27 +03:00
Fedor Korotkiy
7658844998
Merge branch 'go-1.18'
2022-04-02 14:44:39 +03:00
Fedor Korotkiy
8ae368ec09
Try fixing pg
2022-03-31 20:23:41 +03:00
Arseny Balobanov
28564b4257
go fix old build tags.
2022-03-15 23:49:56 +03:00
Fedor Korotkiy
11eaa16551
Run tests with race detector
2022-03-12 16:26:13 +03:00
Артём Гаркавый
2ea95934a4
fix limiting one allocation in utf8 tasks
2022-02-24 15:44:32 +03:00
verytable
daa02c8abf
Resolve "upgrage to 1.17"
2022-02-10 22:06:57 +00:00
Fedor Korotkiy
54cd663edf
Fix linter
2021-04-30 13:33:35 +03:00
Fedor Korotkiy
5ef0c2aaf7
Remove debug prints
2021-04-30 13:10:10 +03:00
Fedor Korotkiy
50058126cb
Debugging
2021-04-30 13:00:54 +03:00
Fedor Korotkiy
6fc471456d
Try fixing analysis test
2021-04-30 12:51:33 +03:00
Fedor Korotkiy
a8a7442fda
Try fixing analysis test
2021-04-30 12:30:53 +03:00
Fedor Korotkiy
28fa3585ce
Revert "Revert "Fix""
...
This reverts commit 288fa5b156
.
2021-04-22 14:12:17 +03:00
Fedor Korotkiy
186e9e70b6
Revert "Revert "Update testtool change detection""
...
This reverts commit e75b41aec1
.
2021-04-22 14:12:10 +03:00
Fedor Korotkiy
e75b41aec1
Revert "Update testtool change detection"
...
This reverts commit b4aab678fa
.
2021-04-16 19:23:36 +03:00
Fedor Korotkiy
288fa5b156
Revert "Fix"
...
This reverts commit 1c401ac21c
.
2021-04-16 19:23:30 +03:00
Fedor Korotkiy
1c401ac21c
Fix
2021-04-16 19:15:56 +03:00
Fedor Korotkiy
b4aab678fa
Update testtool change detection
2021-04-16 19:11:05 +03:00
Arseny Balobanov
53a3875601
Upgrade min required go version to 1.16.
2021-03-16 23:34:44 +03:00
Fedor Korotkiy
188c2b2c91
Pass PATH to testing process
2020-04-21 16:21:00 +03:00
Alexander Vasilyev
b2081be19b
Add solutions for testdata sumbssions related to new coverage calculation logic.
2020-03-27 22:32:10 +03:00
Alexander Vasilyev
12396125e7
Add tests for correct coverage calculations.
2020-03-27 22:32:10 +03:00
Alexander Vasilyev
a56f50ac46
Calculate coverage of private code.
...
Create empty coverage profile from problem code to calculate coverage
correctly. For some wierd reasons it will also account for not tested packages.
This change prevents students from adding new code and testing it,
instead of getting good coverage for initial codebase :)
2020-03-27 22:32:10 +03:00
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
Alexander Vasilyev
545ce5cbe3
Calculate coverage problem-wise, not per package.
...
This seems to be fair, especially since coverage target is
defined problem-wise. Practical reason: coverme/app can not
be covered sufficiently without testing Start/initRoutes/run;
out of these, only initRoutes can be tested, and testing it
separately is a wierd solution.
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
5f1b033f10
testtool: fix cover profile permissions issue by writing profile to /tmp.
2020-03-20 13:00:17 +03:00
Arseny Balobanov
a74e207ea3
testtool: fix coverage comment search dir.
2020-03-20 11:59:20 +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
9848183cc1
Cleanup comments.
2020-03-19 01:40:57 +03:00
Arseny Balobanov
8c9f5151b1
Fix variable shadowing pointed out by linter.
2020-03-19 01:33:16 +03:00
Arseny Balobanov
bb0c91683f
Adding forgotten coverage helpers.
2020-03-19 01:29:11 +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
b7c84cb10a
Fix error message
2020-02-22 15:37:16 +03:00
Fedor Korotkiy
06395725d3
Fix RandomName helper
2020-02-22 01:54:46 +03:00
Fedor Korotkiy
e2f472d732
Compare benchmarks
2020-02-22 01:23:20 +03:00
Arseny Balobanov
daff2e5c7b
Use %s for duration; log timeout error in test.
2020-02-19 00:26:48 +03:00