VictoriaMetrics/app/vmalert
Aliaksandr Valialkin 0078399788
app/vmalert: switch from table-driven tests to f-tests
This makes test code more clear and reduces the number of code lines by 500.
This also simplifies debugging tests. See https://itnext.io/f-tests-as-a-replacement-for-table-driven-tests-in-go-8814a8b19e9e

While at it, consistently use t.Fatal* instead of t.Error* across tests, since t.Error*
requires more boilerplate code, which can result in additional bugs inside tests.
While t.Error* allows writing logging errors for the same, this doesn't simplify fixing
broken tests most of the time.

This is a follow-up for a9525da8a4
2024-07-12 22:41:11 +02:00
..
config app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
datasource app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
deployment app/vmalert: include it into the next release 2020-04-28 00:10:12 +03:00
multiarch deployment: build image for vmagent streamaggr benchmark (#6515) 2024-06-24 16:28:50 +02:00
notifier app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
remoteread app/vmalert: adds idleConnTimeout flags and retry trivial network errors (#6382) 2024-05-30 17:54:42 +02:00
remotewrite app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
rule app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
static app/vmalert: fix links with anchors in vmalert's UI (#6146) 2024-04-22 15:02:10 +02:00
templates app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
tpl app/vmalert: show on UI groups error after reload config (#4543) 2023-07-03 14:59:52 +02:00
utils app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
main_test.go app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
main.go vmalert: allow omitting -replay.timeTo in replay mode, default valu… (#6575) 2024-07-05 09:27:34 +02:00
Makefile vmalert: allow omitting -replay.timeTo in replay mode, default valu… (#6575) 2024-07-05 09:27:34 +02:00
manager_test.go app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
manager.go app/vmalert: fix data race during hot-config reload (#5698) 2024-01-26 22:42:21 +01:00
README.md all: replace old https://docs.victoriametrics.com/vmalert.html url with the new one - https://docs.victoriametrics.com/vmalert/ 2024-04-18 01:44:12 +02:00
replay_test.go app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
replay.go vmalert: allow omitting -replay.timeTo in replay mode, default valu… (#6575) 2024-07-05 09:27:34 +02:00
web_test.go app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
web_types_test.go app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
web_types.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
web.go vmalert: [bug] fixed System hyperlink 404 redirect (#6620) 2024-07-11 11:43:00 +02:00
web.qtpl app/vmalert: follow-up after b60dcbe11f 2024-02-20 13:07:05 +01:00
web.qtpl.go app/vmalert: follow-up after b60dcbe11f 2024-02-20 13:07:05 +01:00

See vmalert docs here.

vmalert docs can be edited at docs/vmalert.md.