mmetc
15a9e16530
functional tests: json, stderr helpers ( #1704 )
2022-08-05 10:54:49 +02:00
mmetc
14dd6b9026
disable tls tests in pipeline ( #1625 )
...
and removing obsolete $FILE
2022-07-01 11:03:40 +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
2dcce2ae72
fix pipeline alert tests ( #1491 )
2022-04-28 14:42:42 +02:00
mmetc
5f2797c83c
more func test coverage; capture exit code for bincover ( #1425 )
2022-04-13 15:44:23 +02:00
mmetc
17ed27052c
save fixture with community data ( #1440 )
2022-04-13 15:17:49 +02:00
mmetc
c54c9f2951
skip broken tests (w/ postgres and test coverage) ( #1410 )
2022-04-01 15:03:17 +02:00
Manuel Sabban
16b9fd82f0
Update bats tests to work with systemd ( #1394 )
...
* update for making it work with systemd
* take DB_BACKEND from file name; reduce duplicated code; configure db_type=sqlite
* define PACKAGE_TESTING
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
Co-authored-by: mmetc <92726601+mmetc@users.noreply.github.com>
2022-03-29 17:06:49 +02:00
mmetc
c2708ab6c0
Bats: "reformat" script for shfmt, longer timeout for crowdsec ( #1373 )
2022-03-18 14:46:05 +01:00
mmetc
af8c55330d
[wip] bats changes for modular fixtures ( #1371 )
...
* target: tests/.environment.sh
* don't pass BIN_DIR around
* manage db backup/restore separately
* don't export CONFIG_DIR, DATA_DIR (derive path locations from
CONFIG_YAML); redirect stdout, stderr to &3 by default in setup_file,
teardown_file
2022-03-18 10:13:12 +01:00
mmetc
9a6a254a90
test decision list -m ( #1365 )
2022-03-17 12:20:08 +01:00
mmetc
7c0593c659
noop code removal, typos and lint fixes ( #1329 )
2022-03-09 16:15:18 +01:00