Skip to content

Commit 67042e0

Browse files
committed
Add multiple filters test
1 parent 3baec00 commit 67042e0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

commander_unix.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,15 @@ tests:
9999
not-contains:
100100
- should be ignored
101101
- executed at the beginning is ignored
102+
exit-code: 0
103+
104+
test mulitple filters:
105+
command: ./commander test integration/unix/filter_test.yaml --filter="executed$,should be ignored"
106+
stdout:
107+
contains:
108+
- ✓ [local] should be executed
109+
- ✓ [local] should also be executed
110+
- ✓ [local] should be ignored
111+
not-contains:
112+
- executed at the beginning is ignored
102113
exit-code: 0

0 commit comments

Comments
 (0)