From 500974f88c11338faf5915ad6061d49d813d036e Mon Sep 17 00:00:00 2001 From: Adrien Aury <44274230+adrienaury@users.noreply.github.com> Date: Mon, 25 Mar 2024 10:42:51 +0000 Subject: [PATCH] test: add venom tests --- test/suites/02-scan.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/suites/02-scan.yml b/test/suites/02-scan.yml index 757077a..feca70e 100644 --- a/test/suites/02-scan.yml +++ b/test/suites/02-scan.yml @@ -36,3 +36,11 @@ testcases: assertions: - result.systemout ShouldContainSubstring "Scanned 3 rows, found 3 links" - result.code ShouldEqual 0 + + - name: passthrough + steps: + - script: silo scan -p ../silos/full < ../data/clients_full.jsonl + assertions: + - result.systemout ShouldNotContainSubstring "Scanned 2 rows, found 6 links" + - result.systemout ShouldContainSubstring '{"ID_CLIENT":"0002","EMAIL_CLIENT":"jane.doe@domain.com","ACCOUNT_NUMBER":2}' + - result.code ShouldEqual 0