summaryrefslogtreecommitdiffstats
path: root/tests/stateless-journey.sh
diff options
context:
space:
mode:
authorSebastian Thiel <sthiel@thoughtworks.com>2019-06-01 14:46:42 +0530
committerSebastian Thiel <sthiel@thoughtworks.com>2019-06-01 14:46:42 +0530
commit498bcd0da4dc44d04634f2cabc245f4c46d2c46a (patch)
tree7b8291b2f81e693b4f173e1b588582c971fce09a /tests/stateless-journey.sh
parentf8c3ba29134af08ea7b70b4fe3951307c6be6e3a (diff)
Add simple statistics, just for fun!
Diffstat (limited to 'tests/stateless-journey.sh')
-rwxr-xr-xtests/stateless-journey.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/stateless-journey.sh b/tests/stateless-journey.sh
index 1cd0fa9..5d444f7 100755
--- a/tests/stateless-journey.sh
+++ b/tests/stateless-journey.sh
@@ -44,6 +44,12 @@ WITH_FAILURE=1
expect_run ${SUCCESSFULLY} "$exe" aggregate --no-sort . . dir ./dir/ ./dir/sub
}
)
+ (with "the --stats option set"
+ it "produces a human-readable aggregate, and statistics about the iteration in RON" && {
+ WITH_SNAPSHOT="$snapshot/success-no-arguments-multiple-input-paths-statistics" \
+ expect_run ${SUCCESSFULLY} "$exe" aggregate --stats . . dir ./dir/ ./dir/sub
+ }
+ )
)
(when "specifying no subcommand"
it "produces a human-readable aggregate" && {