crowdsec/tests/bats
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
..
testdata/cfssl updated bats to 1.7.0; shellcheck fixes and moved cfssl dir under testdata/ (#1584) 2022-06-13 21:54:47 +02:00
01_base.bats CI: colored test output, colored crowdsec and crowdsec-api logs, full final db dump for mysql and sqlite (#1596) 2022-06-17 16:12:49 +02:00
01_crowdsec.bats CI: colored test output, colored crowdsec and crowdsec-api logs, full final db dump for mysql and sqlite (#1596) 2022-06-17 16:12:49 +02:00
02_nolapi.bats CI: colored test output, colored crowdsec and crowdsec-api logs, full final db dump for mysql and sqlite (#1596) 2022-06-17 16:12:49 +02:00
03_noagent.bats support yq prior to 4.18.1 (#1466) 2022-04-20 15:05:34 +02:00
04_nocapi.bats support yq prior to 4.18.1 (#1466) 2022-04-20 15:05:34 +02:00
05_config_yaml_local.bats updated bats to 1.7.0; shellcheck fixes and moved cfssl dir under testdata/ (#1584) 2022-06-13 21:54:47 +02:00
06_crowdsec.bats updated bats to 1.7.0; shellcheck fixes and moved cfssl dir under testdata/ (#1584) 2022-06-13 21:54:47 +02:00
10_bouncers.bats [wip] bats changes for modular fixtures (#1371) 2022-03-18 10:13:12 +01:00
11_bouncers_tls.bats updated bats to 1.7.0; shellcheck fixes and moved cfssl dir under testdata/ (#1584) 2022-06-13 21:54:47 +02:00
20_collections.bats [wip] bats changes for modular fixtures (#1371) 2022-03-18 10:13:12 +01:00
30_machines.bats save fixture with community data (#1440) 2022-04-13 15:17:49 +02:00
30_machines_tls.bats updated bats to 1.7.0; shellcheck fixes and moved cfssl dir under testdata/ (#1584) 2022-06-13 21:54:47 +02:00
40_cold-logs.bats [wip] bats changes for modular fixtures (#1371) 2022-03-18 10:13:12 +01:00
40_live-ban.bats fix #1385: .yaml.local (#1497) 2022-05-18 10:08:37 +02:00
50_simulation.bats [wip] bats changes for modular fixtures (#1371) 2022-03-18 10:13:12 +01:00
70_http_plugin.bats updated bats to 1.7.0; shellcheck fixes and moved cfssl dir under testdata/ (#1584) 2022-06-13 21:54:47 +02:00
71_dummy_plugin.bats updated bats to 1.7.0; shellcheck fixes and moved cfssl dir under testdata/ (#1584) 2022-06-13 21:54:47 +02:00
72_plugin_badconfig.bats updated bats to 1.7.0; shellcheck fixes and moved cfssl dir under testdata/ (#1584) 2022-06-13 21:54:47 +02:00
80_alerts.bats updated bats to 1.7.0; shellcheck fixes and moved cfssl dir under testdata/ (#1584) 2022-06-13 21:54:47 +02:00
90_decisions.bats more func test coverage; capture exit code for bincover (#1425) 2022-04-13 15:44:23 +02:00
97_ipv4_single.bats save fixture with community data (#1440) 2022-04-13 15:17:49 +02:00
97_ipv6_single.bats save fixture with community data (#1440) 2022-04-13 15:17:49 +02:00
98_ipv4_range.bats save fixture with community data (#1440) 2022-04-13 15:17:49 +02:00
98_ipv6_range.bats save fixture with community data (#1440) 2022-04-13 15:17:49 +02:00
99_lapi-stream-mode-scopes.bats Bats: "reformat" script for shfmt, longer timeout for crowdsec (#1373) 2022-03-18 14:46:05 +01:00
99_lapi-stream-mode.bats save fixture with community data (#1440) 2022-04-13 15:17:49 +02:00
reformat updated bats to 1.7.0; shellcheck fixes and moved cfssl dir under testdata/ (#1584) 2022-06-13 21:54:47 +02:00