Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Conversation

@harschware
Copy link

This commit adds the ability to output test times in YAML-ish extensions, which is a format recognized by the Jenkins TAP Plugin and allows Jenkins jobs to track and display test times in builds.

@briceburg
Copy link

very tasty! great job

status=0
fi

if [[ -z $BATS_EXTENDED_SYNTAX && -n $BATS_RECORD_DURATIONS && -n $BATS_TEST_DURATION ]]; then
Copy link

@josegonzalez josegonzalez Dec 12, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just show this inline instead? Something like extending $BATS_TEST_DESCRIPTION with (duration ms: BATS_TEST_DURATION).

Or have it as an alternative to the YAML-ish output :)

yarikoptic pushed a commit to neurodebian/bats that referenced this pull request Aug 6, 2019
…cs-fix

fix doc error in fd 3 redirect-and-close example (fixes sstephenson#176)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants