VictoriaMetrics/app/vmctl
Aliaksandr Valialkin 43fc1183b9
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:45:50 +02:00
..
auth app/vmctl: add support of basic auth and barer token (#3921) 2023-03-12 00:08:04 -08:00
backoff app/vmctl: switch from table-driven tests to f-tests 2024-07-12 22:45:49 +02:00
barpool vmctl: disable progress bar for prometheus snapshot migrations (#6385) 2024-06-10 12:41:44 +02:00
deployment app/vmctl: move vmctl code from github.com/VictoriaMetrics/vmctl 2021-02-01 01:18:39 +02:00
influx app/vmctl: switch from table-driven tests to f-tests 2024-07-12 22:45:49 +02:00
limiter vmctl: add option to rate limit data transfer speed 2022-01-06 23:14:22 +02:00
multiarch deployment: build image for vmagent streamaggr benchmark (#6515) 2024-06-24 16:29:14 +02:00
native app/vmctl: break explore phase in vm-native mode by time intervals 2024-03-25 15:42:24 +01:00
opentsdb all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
prometheus app/vmctl: switch from table-driven tests to f-tests 2024-07-12 22:45:49 +02:00
remoteread app/vmctl: fix arguments order in httputils.TLSConfig 2024-03-17 23:22:08 +02:00
stepper app/vmctl: switch from table-driven tests to f-tests 2024-07-12 22:45:49 +02:00
terminal all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:15:42 +01:00
utils app/vmctl: switch from table-driven tests to f-tests 2024-07-12 22:45:49 +02:00
vm app/vmctl: switch from table-driven tests to f-tests 2024-07-12 22:45:49 +02:00
flags.go vmctl: rm --vm-disable-progress-bar flag 2024-06-10 14:05:58 +02:00
influx.go vmctl: disable progress bar for prometheus snapshot migrations (#6385) 2024-06-10 12:41:44 +02:00
main.go vmctl: disable progress bar for prometheus snapshot migrations (#6385) 2024-06-10 12:41:44 +02:00
Makefile Add build support for loong64 (#6222) 2024-05-10 14:32:05 +02:00
opentsdb.go vmctl: disable progress bar for prometheus snapshot migrations (#6385) 2024-06-10 12:41:44 +02:00
prometheus.go vmctl: disable progress bar for prometheus snapshot migrations (#6385) 2024-06-10 12:41:44 +02:00
prometheus_test.go app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:45:50 +02:00
README.md all: replace old https://docs.victoriametrics.com/vmctl.html url with the new one - https://docs.victoriametrics.com/vmctl/ 2024-04-18 01:54:16 +02:00
remoteread.go vmctl: disable progress bar for prometheus snapshot migrations (#6385) 2024-06-10 12:41:44 +02:00
utils.go vmctl: disable progress bar for prometheus snapshot migrations (#6385) 2024-06-10 12:41:44 +02:00
vm_native.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00

See vmctl docs here.

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