mmetc
15a9e16530
functional tests: json, stderr helpers ( #1704 )
2022-08-05 10:54:49 +02:00
mmetc
e868adee2f
config_get, config_set test helpers ( #1632 )
2022-07-01 22:45:55 +02:00
mmetc
69dd8d2892
fix some tests in pipeline ( #1622 )
2022-07-01 10:16:45 +02:00
mmetc
c78c833400
CI: colored test output, colored crowdsec and crowdsec-api logs, full final db dump for mysql and sqlite ( #1596 )
...
* github-ci: color unit test output and logs
* new config option: force_color_logs (useful in CI)
* bats: show sqlite/mysql dump at the end
* removed "-v" (print package names) from "go build"
* general workflow cleanup
2022-06-17 16:12:49 +02:00
mmetc
67841d54ee
updated bats to 1.7.0; shellcheck fixes and moved cfssl dir under testdata/ ( #1584 )
2022-06-13 21:54:47 +02:00
mmetc
799cc82bb5
functional tests, minor refactoring and lint/cleanup ( #1570 )
...
* cmd/crowdsec: removed log.Fatal()s, added tests and print error for unrecognized argument
* updated golangci-lint to v1.46
* lint/deadcode: fix existing issues
* tests: cscli config backup/restore
* tests: cscli completion powershell/fish
* err check: pflags MarkHidden()
* empty .dockerignore (and explain the reason)
* tests, errors.Wrap
* test for CS_LAPI_SECRET and minor refactoring
* minor style changes
* log cleanup
2022-06-06 15:24:48 +02:00