Commit graph

302 commits

Author SHA1 Message Date
verytable
1696ee67c2 Merge branch '19-websocket-task' into 'master'
Resolve "websocket task"

Closes #19

See merge request slon/shad-go-private!25
2020-04-04 13:27:53 +00:00
Arseny Balobanov
188a1e57aa wscat: fix readme 2020-04-04 06:02:44 +03:00
Arseny Balobanov
42271fdecb wscat: check exit code. 2020-04-04 05:50:43 +03:00
Arseny Balobanov
ad2695a092 wscat: check upgrade error. 2020-04-04 05:22:01 +03:00
Arseny Balobanov
75cb0a68fc Add wscat task. 2020-04-04 05:13:12 +03:00
mfgnik
50b174f4b0 Добавил тест, упрощающий поиск багов 2020-04-03 14:49:13 +03:00
Azat Kalmykov
8890479bd2 Fix: убрал баг с нулевым временем Sleep 2020-04-03 14:36:16 +03:00
Arseny Balobanov
94cac076e7 firewall: fix readme. 2020-04-02 23:24:33 +03:00
Arseny Balobanov
2f574fb185 firewall: fix readme. 2020-04-02 23:23:55 +03:00
Arseny Balobanov
623821ebc0 firewall: fix readme. 2020-04-02 23:22:04 +03:00
Arseny Balobanov
b553aa09e6 firewall: fix readme. 2020-04-02 23:17:18 +03:00
Arseny Balobanov
ba04ea7ea4 Releasing new task group with single firewall task. 2020-04-02 23:15:46 +03:00
verytable
e63fdb8c75 Merge branch '18-firewall-task' into 'master'
Resolve "firewall task"

Closes #18

See merge request slon/shad-go-private!24
2020-04-02 20:11:37 +00:00
Arseny Balobanov
6683ee8e19 firewall: add note about http.Transport 2020-04-02 23:07:16 +03:00
Arseny Balobanov
971e99d4d9 firewall: fix readme 2020-04-02 22:51:35 +03:00
Arseny Balobanov
f595c577ac firewall: add reverse proxy link to resources 2020-04-02 22:39:14 +03:00
Arseny Balobanov
66929d30be firewall: add regexp link to resources 2020-04-02 22:31:31 +03:00
Arseny Balobanov
d127113918 Add firewall task. 2020-04-02 22:29:29 +03:00
Fedor Korotkiy
9baebef1cc Fix linter 2020-04-02 22:25:04 +03:00
Dmitriy
95b22386a6 Добавил тест на публикацию сообщений в 2 разных топика 2020-04-02 20:57:31 +03:00
Fedor Korotkiy
19d79613cd Fit slides to screen 2020-04-02 17:01:16 +03:00
Arseny Balobanov
69342a7b45 lecture6: fix typo 2020-04-02 15:28:27 +03:00
Fedor Korotkiy
c67224b4b2 Merge branch 'lecture6_http' into 'master'
lecture 6: http and context

See merge request slon/shad-go-private!23
2020-04-02 11:42:31 +00:00
bbrodriges
2f932269a9 lecture 6: http and context 2020-04-02 11:42:31 +00:00
Arseny Balobanov
9a186450d2 testequal: rename slice capacity test. 2020-04-01 22:23:44 +03:00
Arseny Balobanov
2fd6d0e667 coverme: remove unneeded empty_test.go. 2020-04-01 22:22:36 +03:00
Fedor Korotkiy
1c91c2a8ad Update .deadlines.yml 2020-03-30 12:58:26 +00:00
Fedor Korotkiy
d259646df6 Update .deadlines.yml 2020-03-30 12:56:38 +00:00
Alexander Vasilyev
8e145026b8 Use Google go-cmp in a test. 2020-03-29 23:41:47 +03:00
Fedor Korotkiy
49a330e852 Fix solution 2020-03-29 21:32:26 +03:00
Николай Третьяк
0d619cfdf1 closeWaitsMessageDeliver test 2020-03-29 21:19:10 +03:00
Rak Alexey
ceaaff5cdb Add case with different cap in slices in TestEqual. 2020-03-29 21:15:44 +03:00
Fedor Korotkiy
7ae2676e14 Add go-cmp 2020-03-29 20:36:09 +03:00
Fedor Korotkiy
b85dfe635b Update README.md 2020-03-29 17:14:32 +00:00
Fedor Korotkiy
8b39f7d901 Update cache_test.go 2020-03-29 13:10:24 +00:00
Fedor Korotkiy
1c5cd2e0d2 Make test more stable. 2020-03-29 13:09:18 +00:00
Fedor Korotkiy
52d9956d49 Fix build 2020-03-27 22:53:09 +03:00
Oleg Khlevnov
b1863ec9a1 Add gc percent test in lrucache to prevent cheating 2020-03-27 22:50:35 +03:00
nickshevr
52c5558b31 (tests): Added tests for fmt without spaces 2020-03-27 22:47:47 +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
4847cc86c8 batcher: try fixing submissions by adding empty source file to slow subpkg. 2020-03-27 15:01:57 +03:00
Oleg Khlevnov
cee54236ab Update string case in TestEqual assertions_test.go 2020-03-27 12:00:00 +03:00
Arseny Balobanov
71ed3bdf3e coverme: fix spacing. 2020-03-27 02:12:22 +03:00
mfgnik
f2ba356a61 Update coverage_test.go 2020-03-27 02:10:53 +03:00
mfgnik
d17ba8106e Update coverage_test.go 2020-03-27 02:10:51 +03:00