Live output from --show-output-of-passing-tests
#847
Labels
Component: Bash Code
Everything regarding the bash code
Priority: Medium
Wrong or misleading documentation, broken behavior with workaround
Size: Large
Changes across several files
Type: Enhancement
Is your feature request related to a problem? Please describe.
--show-output-of-passing-tests
displays test output but only after the test completes. For tests which normally take many minutes to complete, or which appear to be hung, it is therefore difficult to tell what is going on. For example you may be checked a build log in a CI system to see if your new test is actually progressing or got stuck somewhere, but there is no way to see that until it completes (or times out, or is aborted).Example:
run as
initially prints only the test name; the full output only appears 30s later, all at once.
Describe the solution you'd like
Output should be streamed to the
bats
stdout/stderr as it is processed.Describe alternatives you've considered
tail -f /tmp/bats-run-<something>/bats.<something>.out
can be used as a workaround, but the filenames are unpredictable, and you cannot use a wildcard because there are two*.out
files, one of which is empty AFAICT.The text was updated successfully, but these errors were encountered: