Update bats/bats Docker tag to v1.9.0 #1151

Closed
renovate-bot wants to merge 1 commit from renovate/bats-bats-1.x into master
Contributor

This PR contains the following updates:

Package Update Change
bats/bats minor v1.4.1 -> 1.9.0

Release Notes

bats-core/bats-core

v1.9.0

Compare Source

Added:

  • add installation instructions for Debian, Fedora, Gentoo, and OpenSUSE (#​659)
  • add --line-reference-format to switch file/line references in stack traces (#​665)
    • comma_line (default): file.bats, line 1
    • colon: file.bats:1
    • uri: file:///path/to/file.bats:1
    • custom: define your own formatter in bats_format_file_line_reference_custom
  • add bats:focus tag to run only focused tests (#​679)
  • add bats-support, bats-assert, bats-file and bats-detik to Dockerfile (#​674)
Documentation:
  • add --help text and man page content for --filter-tags (#​679)

Fixed:

  • explicitly check for GNU parallel (#​691)
  • wait for report-formatter to finish before ending bats' execution,
    to fix empty files with --report-fomatter junit under Docker (#​692)
Documentation
  • improved clarity of section about output in free code (#​671)
  • fixed typos (#​673)
  • clarify use cases of run (#​366)

v1.8.2

Compare Source

Bats 1.8.2

Released: 2022-10-19

Fixed:

  • fix non zero return code on successful retried tests (#​670)

v1.8.1

Compare Source

Bats 1.8.1

Released: 2022-10-19

Fixed:

  • shfmt all files and enforce via CI (#​651)
  • avoid kernel warning flood/hang with CTRL+C on Bash 5.2 RC (#​656)
  • Fix infinite wait with (invalid) -j<n> (without space) (#​657)

v1.8.0

Compare Source

Bats 1.8.0

Released: 2022-09-15

Added:

  • using external formatters via --formatter <absolute path> (also works for
    --report-formatter) (#​602)
  • running only tests that failed in the last run via --filter-status failed (#​483)
  • variable BATS_TEST_RETRIES that specifies how often a test should be
    reattempted before it is considered failed (#​618)
  • Docker tags latest-no-faccessat2 and <bats-version\>-no-faccessat2 for
    avoiding bash: bats: No such file or directory on docker<20.10 (or
    runc<v1.0.0-rc93) (#​622)
  • BATS_TEST_TIMEOUT variable to force a timeout on test (including setup()) (#​491)
  • also print (nonempty) $stderr (from run --separate-stderr) with
    --print-output-on-failure (#​631)
  • # bats test_tags=<tag list>/# bats file_tags=<tag list> and
    --filter-tags <tag list> for tagging tests for execution filters (#​642)
  • warning BW03: inform about setup_suite in wrong file (.bats instead of setup_suite.bash) (#​652)
Documentation
  • update gotcha about negated statements: Recommend using run ! on Bats
    versions >=1.5.0 (#​593)
  • add documentation for bats_require_minimum_version (#​595)
  • improve documentation about setup_suite (#​652)

Fixed:

  • added missing shebang (#​597)
  • remaining instances of run -<N> being incorrectly documented as run =<N> (#​599)
  • allow --gather-test-outputs-in <directory> to work with existing, empty
    directories (#​603)
    • also add --clean-and-gather-test-outputs-in <directory> for improved UX
  • double slashes in paths derived from TMPDIR on MacOS (#​607)
  • fix load in teardown marking failed tests as not run (#​612)
  • fix unset variable errors (with set -u) and add regression test (#​621)
  • teardown_file errors don't swallow setup_file errors anymore, the behavior
    is more like teardown's now (only return/last command can trigger teardown
    errors) (#​623)
  • upgraded from deprecated CI envs for MacOS (10 -> 11,12) and Ubuntu
    (18.04 -> 22.04) (#​630)
  • add /usr/lib/bats as default value for BATS_LIB_PATH (#​628)
  • fix unset variable in bats-formatter-junit when setup_file fails (#​632)
  • unify error behavior of teardown/teardown_file/teardown_suite functions:
    only fail via return code, not via ERREXIT (#​633)
  • fix unbound variable errors with set -u on setup_suite failures (#​643)
  • fix load not being available in setup_suite (#​644)
  • fix RPM spec, add regression test (#​648)
  • fix handling of IFS by run (#​650)
  • only print setup_suite's stderr on errors (#​649)
Documentation

v1.7.0

Compare Source

Bats 1.7.0

Released: 2022-05-14

Added:

  • Pretty formatter print filename when entering file (#​561)
  • BATS_TEST_NAME_PREFIX allows prefixing test names on stdout and in reports (#​561)
  • setup_suite and teardown_suite (#​571, #​585)
  • out-of-band warning infrastructure, with following warnings:
    • BW01: run command not found (exit code 127) (#​586)
    • BW02: run uses flags without proper bats_require_minimum_version guard (#​587)
  • bats_require_minimum_version to guard code that would not run on older
    versions (#​587)
Documentation

Fixed:

  • unbound variable errors in formatters when using SHELLOPTS=nounset (-u) (#​558)
  • don't require flock and shlock for parallel mode test (#​554)
  • print name of failing test when using TAP13 with timing information (#​559, #​555)
  • removed broken symlink, added regression test (#​560)
  • don't show empty lines as # with pretty formatter (#​561)
  • prevent teardown, teardown_file, and teardown_suite from overriding bats'
    exit code by setting $status (e.g. via calling run) (#​581, #​575)
    • CRITICAL: this can return exit code 0 despite failed tests, thus preventing
      your CI from reporting test failures! The regression happened in version 1.6.0.
  • run --keep-empty-lines now reports 0 lines on empty $output (#​583)
Documentation
  • remove 2018 in title, update copyright dates in README.md (#​567)
  • fix broken links (#​568)
  • corrected invalid documentation of run -N (had =N instead) (#​579)
    • CRITICAL: using the incorrect form can lead to silent errors. See
      issue #​578 for more
      details and how to find out if your tests are affected.

v1.6.1

Compare Source

Bats 1.6.1

Released: 2022-05-14

Fixed:

  • prevent teardown, teardown_file, and teardown_suite from overriding bats'
    exit code by setting $status (e.g. via calling run) (#​581, #​575)
    • CRITICAL: this can return exit code 0 despite failed tests, thus preventing
      your CI from reporting test failures! The regression happened in version 1.6.0.
Documentation
  • corrected invalid documentation of run -N (had =N instead) (#​579)
    • CRITICAL: using the incorrect form can lead to silent errors. See issue #​578 for more details and how to find out if your tests are affected.

v1.6.0

Compare Source

Bats 1.6.0

Released: 2022-02-24

Added:
  • new flag --code-quote-style (and $BATS_CODE_QUOTE_STYLE) to customize
    quotes around code blocks in error output (#​506)
  • an example/regression test for running background tasks without blocking the
    test run (#​525, #​535)
  • bats_load_library for loading libraries from the search path
    $BATS_LIB_PATH (#​548)
Fixed:
  • improved error trace for some broken cases (#​279)
  • removed leftover debug file /tmp/latch in selftest suite
    (single use latch) (#​516)
  • fix recurring errors on CTRL+C tests with NPM on Windows in selftest suite (#​516)
  • fixed leaking of local variables from debug trap (#​520)
  • don't mark FD3 output from teardown_file as <failure> in junit output (#​532)
  • fix unbound variable error with Bash pre 4.4 (#​550)
Documentation
  • remove links to defunct freenode IRC channel (#​515)
  • improved grammar (#​534)
  • fixed link to TAP spec (#​537)

v1.6.0

Compare Source

Bats 1.6.0

Released: 2022-02-24

Added:
  • new flag --code-quote-style (and $BATS_CODE_QUOTE_STYLE) to customize
    quotes around code blocks in error output (#​506)
  • an example/regression test for running background tasks without blocking the
    test run (#​525, #​535)
  • bats_load_library for loading libraries from the search path
    $BATS_LIB_PATH (#​548)
Fixed:
  • improved error trace for some broken cases (#​279)
  • removed leftover debug file /tmp/latch in selftest suite
    (single use latch) (#​516)
  • fix recurring errors on CTRL+C tests with NPM on Windows in selftest suite (#​516)
  • fixed leaking of local variables from debug trap (#​520)
  • don't mark FD3 output from teardown_file as <failure> in junit output (#​532)
  • fix unbound variable error with Bash pre 4.4 (#​550)
Documentation
  • remove links to defunct freenode IRC channel (#​515)
  • improved grammar (#​534)
  • fixed link to TAP spec (#​537)

v1.5.0

Compare Source

Bats 1.5.0

Released: 2021-10-22

Added:

  • new command line flags (#​488)
    • --verbose-run: Make run print $output by default
    • -x, --trace: Print test commands as they are executed (like set -x)`
    • --show-output-of-passing-tests: Print output of passing tests
    • --print-output-on-failure: Automatically print the value of $output on
      failed tests
    • --gather-test-outputs-in <directory>: Gather the output of failing and
      passing tests as files in directory
  • Experimental: add return code checks to run via !/-<N> (#​367, #​507)
  • install.sh and uninstall.sh take an optional second parameter for the lib
    folder name to allow for multilib install, e.g. into lib64 (#​452)
  • add run flag --keep-empty-lines to retain empty lines in ${lines[@&#8203;]} (#​224,
    a894fbf)
  • add run flag --separate-stderr which also fills $stderr and
    $stderr_lines (#​47, 5c9b173, #​507)

Fixed:

  • don't glob run's $output when splitting into ${lines[@&#8203;]}
    (#​151, #​152, #​158, #​156, #​281, #​289)
  • remove empty line after test with pretty formatter on some terminals (#​481)
  • don't run setup_file/teardown_file on files without tests, e.g. due to
    filtering (#​484)
  • print final line without newline on Bash 3.2 for midtest (ERREXIT) failures
    too (#​495, #​145)
  • abort with error on missing flock/shlock when running in parallel mode (#​496)
  • improved set -u test and fixed some unset variable accesses (#​498, #​501)
  • shorten suite/file/test temporary folder paths to leave enough space even on
    restricted systems (#​503)
Documentation

v1.5.0

Compare Source

Bats 1.5.0

Released: 2021-10-22

Added:

  • new command line flags (#​488)
    • --verbose-run: Make run print $output by default
    • -x, --trace: Print test commands as they are executed (like set -x)`
    • --show-output-of-passing-tests: Print output of passing tests
    • --print-output-on-failure: Automatically print the value of $output on
      failed tests
    • --gather-test-outputs-in <directory>: Gather the output of failing and
      passing tests as files in directory
  • Experimental: add return code checks to run via !/-<N> (#​367, #​507)
  • install.sh and uninstall.sh take an optional second parameter for the lib
    folder name to allow for multilib install, e.g. into lib64 (#​452)
  • add run flag --keep-empty-lines to retain empty lines in ${lines[@&#8203;]} (#​224,
    a894fbf)
  • add run flag --separate-stderr which also fills $stderr and
    $stderr_lines (#​47, 5c9b173, #​507)

Fixed:

  • don't glob run's $output when splitting into ${lines[@&#8203;]}
    (#​151, #​152, #​158, #​156, #​281, #​289)
  • remove empty line after test with pretty formatter on some terminals (#​481)
  • don't run setup_file/teardown_file on files without tests, e.g. due to
    filtering (#​484)
  • print final line without newline on Bash 3.2 for midtest (ERREXIT) failures
    too (#​495, #​145)
  • abort with error on missing flock/shlock when running in parallel mode (#​496)
  • improved set -u test and fixed some unset variable accesses (#​498, #​501)
  • shorten suite/file/test temporary folder paths to leave enough space even on
    restricted systems (#​503)
Documentation

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [bats/bats](https://github.com/bats-core/bats-core) | minor | `v1.4.1` -> `1.9.0` | --- ### Release Notes <details> <summary>bats-core/bats-core</summary> ### [`v1.9.0`](https://github.com/bats-core/bats-core/releases/tag/v1.9.0) [Compare Source](https://github.com/bats-core/bats-core/compare/v1.8.2...v1.9.0) #### Added: - add installation instructions for Debian, Fedora, Gentoo, and OpenSUSE ([#&#8203;659](https://github.com/bats-core/bats-core/issues/659)) - add `--line-reference-format` to switch file/line references in stack traces ([#&#8203;665](https://github.com/bats-core/bats-core/issues/665)) - `comma_line` (default): `file.bats, line 1` - `colon`: `file.bats:1` - `uri`: `file:///path/to/file.bats:1` - `custom`: define your own formatter in `bats_format_file_line_reference_custom` - add `bats:focus` tag to run only focused tests ([#&#8203;679](https://github.com/bats-core/bats-core/issues/679)) - add bats-support, bats-assert, bats-file and bats-detik to Dockerfile ([#&#8203;674](https://github.com/bats-core/bats-core/issues/674)) ##### Documentation: - add `--help` text and `man` page content for `--filter-tags` ([#&#8203;679](https://github.com/bats-core/bats-core/issues/679)) #### Fixed: - explicitly check for GNU parallel ([#&#8203;691](https://github.com/bats-core/bats-core/issues/691)) - wait for report-formatter to finish before ending `bats`' execution, to fix empty files with `--report-fomatter junit` under Docker ([#&#8203;692](https://github.com/bats-core/bats-core/issues/692)) ##### Documentation - improved clarity of section about output in free code ([#&#8203;671](https://github.com/bats-core/bats-core/issues/671)) - fixed typos ([#&#8203;673](https://github.com/bats-core/bats-core/issues/673)) - clarify use cases of `run` ([#&#8203;366](https://github.com/bats-core/bats-core/issues/366)) ### [`v1.8.2`](https://github.com/bats-core/bats-core/releases/tag/v1.8.2) [Compare Source](https://github.com/bats-core/bats-core/compare/v1.8.1...v1.8.2) Bats 1.8.2 Released: 2022-10-19 Fixed: - fix non zero return code on successful retried tests ([#&#8203;670](https://github.com/bats-core/bats-core/issues/670)) ### [`v1.8.1`](https://github.com/bats-core/bats-core/releases/tag/v1.8.1) [Compare Source](https://github.com/bats-core/bats-core/compare/v1.8.0...v1.8.1) Bats 1.8.1 Released: 2022-10-19 Fixed: - `shfmt` all files and enforce via CI ([#&#8203;651](https://github.com/bats-core/bats-core/issues/651)) - avoid kernel warning flood/hang with CTRL+C on Bash 5.2 RC ([#&#8203;656](https://github.com/bats-core/bats-core/issues/656)) - Fix infinite wait with (invalid) `-j<n>` (without space) ([#&#8203;657](https://github.com/bats-core/bats-core/issues/657)) ### [`v1.8.0`](https://github.com/bats-core/bats-core/releases/tag/v1.8.0) [Compare Source](https://github.com/bats-core/bats-core/compare/v1.7.0...v1.8.0) Bats 1.8.0 Released: 2022-09-15 #### Added: - using external formatters via `--formatter <absolute path>` (also works for `--report-formatter`) ([#&#8203;602](https://github.com/bats-core/bats-core/issues/602)) - running only tests that failed in the last run via `--filter-status failed` ([#&#8203;483](https://github.com/bats-core/bats-core/issues/483)) - variable `BATS_TEST_RETRIES` that specifies how often a test should be reattempted before it is considered failed ([#&#8203;618](https://github.com/bats-core/bats-core/issues/618)) - Docker tags `latest-no-faccessat2` and `<bats-version\>-no-faccessat2` for avoiding `bash: bats: No such file or directory` on `docker<20.10` (or `runc<v1.0.0-rc93`) ([#&#8203;622](https://github.com/bats-core/bats-core/issues/622)) - `BATS_TEST_TIMEOUT` variable to force a timeout on test (including `setup()`) ([#&#8203;491](https://github.com/bats-core/bats-core/issues/491)) - also print (nonempty) `$stderr` (from `run --separate-stderr`) with `--print-output-on-failure` ([#&#8203;631](https://github.com/bats-core/bats-core/issues/631)) - `# bats test_tags=<tag list>`/`# bats file_tags=<tag list>` and `--filter-tags <tag list>` for tagging tests for execution filters ([#&#8203;642](https://github.com/bats-core/bats-core/issues/642)) - warning BW03: inform about `setup_suite` in wrong file (`.bats` instead of `setup_suite.bash`) ([#&#8203;652](https://github.com/bats-core/bats-core/issues/652)) ##### Documentation - update gotcha about negated statements: Recommend using `run !` on Bats versions >=1.5.0 ([#&#8203;593](https://github.com/bats-core/bats-core/issues/593)) - add documentation for `bats_require_minimum_version` ([#&#8203;595](https://github.com/bats-core/bats-core/issues/595)) - improve documentation about `setup_suite` ([#&#8203;652](https://github.com/bats-core/bats-core/issues/652)) #### Fixed: - added missing shebang ([#&#8203;597](https://github.com/bats-core/bats-core/issues/597)) - remaining instances of `run -<N>` being incorrectly documented as `run =<N>` ([#&#8203;599](https://github.com/bats-core/bats-core/issues/599)) - allow `--gather-test-outputs-in <directory>` to work with existing, empty directories ([#&#8203;603](https://github.com/bats-core/bats-core/issues/603)) - also add `--clean-and-gather-test-outputs-in <directory>` for improved UX - double slashes in paths derived from TMPDIR on MacOS ([#&#8203;607](https://github.com/bats-core/bats-core/issues/607)) - fix `load` in `teardown` marking failed tests as not run ([#&#8203;612](https://github.com/bats-core/bats-core/issues/612)) - fix unset variable errors (with set -u) and add regression test ([#&#8203;621](https://github.com/bats-core/bats-core/issues/621)) - `teardown_file` errors don't swallow `setup_file` errors anymore, the behavior is more like `teardown`'s now (only `return`/last command can trigger `teardown` errors) ([#&#8203;623](https://github.com/bats-core/bats-core/issues/623)) - upgraded from deprecated CI envs for MacOS (10 -> 11,12) and Ubuntu (18.04 -> 22.04) ([#&#8203;630](https://github.com/bats-core/bats-core/issues/630)) - add `/usr/lib/bats` as default value for `BATS_LIB_PATH` ([#&#8203;628](https://github.com/bats-core/bats-core/issues/628)) - fix unset variable in `bats-formatter-junit` when `setup_file` fails ([#&#8203;632](https://github.com/bats-core/bats-core/issues/632)) - unify error behavior of `teardown`/`teardown_file`/`teardown_suite` functions: only fail via return code, not via ERREXIT ([#&#8203;633](https://github.com/bats-core/bats-core/issues/633)) - fix unbound variable errors with `set -u` on `setup_suite` failures ([#&#8203;643](https://github.com/bats-core/bats-core/issues/643)) - fix `load` not being available in `setup_suite` ([#&#8203;644](https://github.com/bats-core/bats-core/issues/644)) - fix RPM spec, add regression test ([#&#8203;648](https://github.com/bats-core/bats-core/issues/648)) - fix handling of `IFS` by `run` ([#&#8203;650](https://github.com/bats-core/bats-core/issues/650)) - only print `setup_suite`'s stderr on errors ([#&#8203;649](https://github.com/bats-core/bats-core/issues/649)) ##### Documentation - fix typos, spelling and links ([#&#8203;596](https://github.com/bats-core/bats-core/issues/596), [#&#8203;604](https://github.com/bats-core/bats-core/issues/604), [#&#8203;619](https://github.com/bats-core/bats-core/issues/619), [#&#8203;627](https://github.com/bats-core/bats-core/issues/627)) - fix redirection order of an example in the tutorial ([#&#8203;617](https://github.com/bats-core/bats-core/issues/617)) ### [`v1.7.0`](https://github.com/bats-core/bats-core/releases/tag/v1.7.0) [Compare Source](https://github.com/bats-core/bats-core/compare/v1.6.1...v1.7.0) Bats 1.7.0 Released: 2022-05-14 #### Added: - Pretty formatter print filename when entering file ([#&#8203;561](https://github.com/bats-core/bats-core/issues/561)) - BATS_TEST_NAME_PREFIX allows prefixing test names on stdout and in reports ([#&#8203;561](https://github.com/bats-core/bats-core/issues/561)) - setup_suite and teardown_suite ([#&#8203;571](https://github.com/bats-core/bats-core/issues/571), [#&#8203;585](https://github.com/bats-core/bats-core/issues/585)) - out-of-band warning infrastructure, with following warnings: - BW01: run command not found (exit code 127) ([#&#8203;586](https://github.com/bats-core/bats-core/issues/586)) - BW02: run uses flags without proper `bats_require_minimum_version` guard ([#&#8203;587](https://github.com/bats-core/bats-core/issues/587)) - `bats_require_minimum_version` to guard code that would not run on older versions ([#&#8203;587](https://github.com/bats-core/bats-core/issues/587)) ##### Documentation - document `$BATS_VERSION` ([#&#8203;557](https://github.com/bats-core/bats-core/issues/557)) - document new warning infrastructure ([#&#8203;589](https://github.com/bats-core/bats-core/issues/589), [#&#8203;587](https://github.com/bats-core/bats-core/issues/587), [#&#8203;586](https://github.com/bats-core/bats-core/issues/586)) #### Fixed: - unbound variable errors in formatters when using `SHELLOPTS=nounset` (`-u`) ([#&#8203;558](https://github.com/bats-core/bats-core/issues/558)) - don't require `flock` *and* `shlock` for parallel mode test ([#&#8203;554](https://github.com/bats-core/bats-core/issues/554)) - print name of failing test when using TAP13 with timing information ([#&#8203;559](https://github.com/bats-core/bats-core/issues/559), [#&#8203;555](https://github.com/bats-core/bats-core/issues/555)) - removed broken symlink, added regression test ([#&#8203;560](https://github.com/bats-core/bats-core/issues/560)) - don't show empty lines as `#` with pretty formatter ([#&#8203;561](https://github.com/bats-core/bats-core/issues/561)) - prevent `teardown`, `teardown_file`, and `teardown_suite` from overriding bats' exit code by setting `$status` (e.g. via calling `run`) ([#&#8203;581](https://github.com/bats-core/bats-core/issues/581), [#&#8203;575](https://github.com/bats-core/bats-core/issues/575)) - **CRITICAL**: this can return exit code 0 despite failed tests, thus preventing your CI from reporting test failures! The regression happened in version 1.6.0. - `run --keep-empty-lines` now reports 0 lines on empty `$output` ([#&#8203;583](https://github.com/bats-core/bats-core/issues/583)) ##### Documentation - remove 2018 in title, update copyright dates in README.md ([#&#8203;567](https://github.com/bats-core/bats-core/issues/567)) - fix broken links ([#&#8203;568](https://github.com/bats-core/bats-core/issues/568)) - corrected invalid documentation of `run -N` (had `=N` instead) ([#&#8203;579](https://github.com/bats-core/bats-core/issues/579)) - **CRITICAL**: using the incorrect form can lead to silent errors. See [issue #&#8203;578](https://github.com/bats-core/bats-core/issues/578) for more details and how to find out if your tests are affected. ### [`v1.6.1`](https://github.com/bats-core/bats-core/releases/tag/v1.6.1) [Compare Source](https://github.com/bats-core/bats-core/compare/v1.6.0...v1.6.1) Bats 1.6.1 Released: 2022-05-14 #### Fixed: - prevent `teardown`, `teardown_file`, and `teardown_suite` from overriding bats' exit code by setting `$status` (e.g. via calling `run`) ([#&#8203;581](https://github.com/bats-core/bats-core/issues/581), [#&#8203;575](https://github.com/bats-core/bats-core/issues/575)) - **CRITICAL**: this can return exit code 0 despite failed tests, thus preventing your CI from reporting test failures! The regression happened in version 1.6.0. ##### Documentation - corrected invalid documentation of `run -N` (had `=N` instead) ([#&#8203;579](https://github.com/bats-core/bats-core/issues/579)) - **CRITICAL**: using the incorrect form can lead to silent errors. See [issue #&#8203;578](https://github.com/bats-core/bats-core/issues/578) for more details and how to find out if your tests are affected. ### [`v1.6.0`](https://github.com/bats-core/bats-core/releases/tag/v1.6.0) [Compare Source](https://github.com/bats-core/bats-core/compare/v1.6.0...v1.6.0) Bats 1.6.0 Released: 2022-02-24 ##### Added: - new flag `--code-quote-style` (and `$BATS_CODE_QUOTE_STYLE`) to customize quotes around code blocks in error output ([#&#8203;506](https://github.com/bats-core/bats-core/issues/506)) - an example/regression test for running background tasks without blocking the test run ([#&#8203;525](https://github.com/bats-core/bats-core/issues/525), [#&#8203;535](https://github.com/bats-core/bats-core/issues/535)) - `bats_load_library` for loading libraries from the search path `$BATS_LIB_PATH` ([#&#8203;548](https://github.com/bats-core/bats-core/issues/548)) ##### Fixed: - improved error trace for some broken cases ([#&#8203;279](https://github.com/bats-core/bats-core/issues/279)) - removed leftover debug file `/tmp/latch` in selftest suite (single use latch) ([#&#8203;516](https://github.com/bats-core/bats-core/issues/516)) - fix recurring errors on CTRL+C tests with NPM on Windows in selftest suite ([#&#8203;516](https://github.com/bats-core/bats-core/issues/516)) - fixed leaking of local variables from debug trap ([#&#8203;520](https://github.com/bats-core/bats-core/issues/520)) - don't mark FD3 output from `teardown_file` as `<failure>` in junit output ([#&#8203;532](https://github.com/bats-core/bats-core/issues/532)) - fix unbound variable error with Bash pre 4.4 ([#&#8203;550](https://github.com/bats-core/bats-core/issues/550)) ##### Documentation - remove links to defunct freenode IRC channel ([#&#8203;515](https://github.com/bats-core/bats-core/issues/515)) - improved grammar ([#&#8203;534](https://github.com/bats-core/bats-core/issues/534)) - fixed link to TAP spec ([#&#8203;537](https://github.com/bats-core/bats-core/issues/537)) ### [`v1.6.0`](https://github.com/bats-core/bats-core/releases/tag/v1.6.0) [Compare Source](https://github.com/bats-core/bats-core/compare/v1.5.0...v1.6.0) Bats 1.6.0 Released: 2022-02-24 ##### Added: - new flag `--code-quote-style` (and `$BATS_CODE_QUOTE_STYLE`) to customize quotes around code blocks in error output ([#&#8203;506](https://github.com/bats-core/bats-core/issues/506)) - an example/regression test for running background tasks without blocking the test run ([#&#8203;525](https://github.com/bats-core/bats-core/issues/525), [#&#8203;535](https://github.com/bats-core/bats-core/issues/535)) - `bats_load_library` for loading libraries from the search path `$BATS_LIB_PATH` ([#&#8203;548](https://github.com/bats-core/bats-core/issues/548)) ##### Fixed: - improved error trace for some broken cases ([#&#8203;279](https://github.com/bats-core/bats-core/issues/279)) - removed leftover debug file `/tmp/latch` in selftest suite (single use latch) ([#&#8203;516](https://github.com/bats-core/bats-core/issues/516)) - fix recurring errors on CTRL+C tests with NPM on Windows in selftest suite ([#&#8203;516](https://github.com/bats-core/bats-core/issues/516)) - fixed leaking of local variables from debug trap ([#&#8203;520](https://github.com/bats-core/bats-core/issues/520)) - don't mark FD3 output from `teardown_file` as `<failure>` in junit output ([#&#8203;532](https://github.com/bats-core/bats-core/issues/532)) - fix unbound variable error with Bash pre 4.4 ([#&#8203;550](https://github.com/bats-core/bats-core/issues/550)) ##### Documentation - remove links to defunct freenode IRC channel ([#&#8203;515](https://github.com/bats-core/bats-core/issues/515)) - improved grammar ([#&#8203;534](https://github.com/bats-core/bats-core/issues/534)) - fixed link to TAP spec ([#&#8203;537](https://github.com/bats-core/bats-core/issues/537)) ### [`v1.5.0`](https://github.com/bats-core/bats-core/releases/tag/v1.5.0) [Compare Source](https://github.com/bats-core/bats-core/compare/v1.5.0...v1.5.0) Bats 1.5.0 Released: 2021-10-22 Added: - new command line flags ([#&#8203;488](https://github.com/bats-core/bats-core/issues/488)) - `--verbose-run`: Make `run` print `$output` by default - `-x`, `--trace`: Print test commands as they are executed (like `set -x`)\` - `--show-output-of-passing-tests`: Print output of passing tests - `--print-output-on-failure`: Automatically print the value of `$output` on failed tests - `--gather-test-outputs-in <directory>`: Gather the output of failing **and** passing tests as files in directory - Experimental: add return code checks to `run` via `!`/`-<N>` ([#&#8203;367](https://github.com/bats-core/bats-core/issues/367), [#&#8203;507](https://github.com/bats-core/bats-core/issues/507)) - `install.sh` and `uninstall.sh` take an optional second parameter for the lib folder name to allow for multilib install, e.g. into lib64 ([#&#8203;452](https://github.com/bats-core/bats-core/issues/452)) - add `run` flag `--keep-empty-lines` to retain empty lines in `${lines[@&#8203;]}` ([#&#8203;224](https://github.com/bats-core/bats-core/issues/224), [`a894fbf`](https://github.com/bats-core/bats-core/commit/a894fbfa)) - add `run` flag `--separate-stderr` which also fills `$stderr` and `$stderr_lines` ([#&#8203;47](https://github.com/bats-core/bats-core/issues/47), [`5c9b173`](https://github.com/bats-core/bats-core/commit/5c9b173d), [#&#8203;507](https://github.com/bats-core/bats-core/issues/507)) Fixed: - don't glob `run`'s `$output` when splitting into `${lines[@&#8203;]}` ([#&#8203;151](https://github.com/bats-core/bats-core/issues/151), [#&#8203;152](https://github.com/bats-core/bats-core/issues/152), [#&#8203;158](https://github.com/bats-core/bats-core/issues/158), [#&#8203;156](https://github.com/bats-core/bats-core/issues/156), [#&#8203;281](https://github.com/bats-core/bats-core/issues/281), [#&#8203;289](https://github.com/bats-core/bats-core/issues/289)) - remove empty line after test with pretty formatter on some terminals ([#&#8203;481](https://github.com/bats-core/bats-core/issues/481)) - don't run setup_file/teardown_file on files without tests, e.g. due to filtering ([#&#8203;484](https://github.com/bats-core/bats-core/issues/484)) - print final line without newline on Bash 3.2 for midtest (ERREXIT) failures too ([#&#8203;495](https://github.com/bats-core/bats-core/issues/495), [#&#8203;145](https://github.com/bats-core/bats-core/issues/145)) - abort with error on missing flock/shlock when running in parallel mode ([#&#8203;496](https://github.com/bats-core/bats-core/issues/496)) - improved `set -u` test and fixed some unset variable accesses ([#&#8203;498](https://github.com/bats-core/bats-core/issues/498), [#&#8203;501](https://github.com/bats-core/bats-core/issues/501)) - shorten suite/file/test temporary folder paths to leave enough space even on restricted systems ([#&#8203;503](https://github.com/bats-core/bats-core/issues/503)) ##### Documentation - minor edits ([#&#8203;478](https://github.com/bats-core/bats-core/issues/478)) ### [`v1.5.0`](https://github.com/bats-core/bats-core/releases/tag/v1.5.0) [Compare Source](https://github.com/bats-core/bats-core/compare/v1.4.1...v1.5.0) Bats 1.5.0 Released: 2021-10-22 Added: - new command line flags ([#&#8203;488](https://github.com/bats-core/bats-core/issues/488)) - `--verbose-run`: Make `run` print `$output` by default - `-x`, `--trace`: Print test commands as they are executed (like `set -x`)\` - `--show-output-of-passing-tests`: Print output of passing tests - `--print-output-on-failure`: Automatically print the value of `$output` on failed tests - `--gather-test-outputs-in <directory>`: Gather the output of failing **and** passing tests as files in directory - Experimental: add return code checks to `run` via `!`/`-<N>` ([#&#8203;367](https://github.com/bats-core/bats-core/issues/367), [#&#8203;507](https://github.com/bats-core/bats-core/issues/507)) - `install.sh` and `uninstall.sh` take an optional second parameter for the lib folder name to allow for multilib install, e.g. into lib64 ([#&#8203;452](https://github.com/bats-core/bats-core/issues/452)) - add `run` flag `--keep-empty-lines` to retain empty lines in `${lines[@&#8203;]}` ([#&#8203;224](https://github.com/bats-core/bats-core/issues/224), [`a894fbf`](https://github.com/bats-core/bats-core/commit/a894fbfa)) - add `run` flag `--separate-stderr` which also fills `$stderr` and `$stderr_lines` ([#&#8203;47](https://github.com/bats-core/bats-core/issues/47), [`5c9b173`](https://github.com/bats-core/bats-core/commit/5c9b173d), [#&#8203;507](https://github.com/bats-core/bats-core/issues/507)) Fixed: - don't glob `run`'s `$output` when splitting into `${lines[@&#8203;]}` ([#&#8203;151](https://github.com/bats-core/bats-core/issues/151), [#&#8203;152](https://github.com/bats-core/bats-core/issues/152), [#&#8203;158](https://github.com/bats-core/bats-core/issues/158), [#&#8203;156](https://github.com/bats-core/bats-core/issues/156), [#&#8203;281](https://github.com/bats-core/bats-core/issues/281), [#&#8203;289](https://github.com/bats-core/bats-core/issues/289)) - remove empty line after test with pretty formatter on some terminals ([#&#8203;481](https://github.com/bats-core/bats-core/issues/481)) - don't run setup_file/teardown_file on files without tests, e.g. due to filtering ([#&#8203;484](https://github.com/bats-core/bats-core/issues/484)) - print final line without newline on Bash 3.2 for midtest (ERREXIT) failures too ([#&#8203;495](https://github.com/bats-core/bats-core/issues/495), [#&#8203;145](https://github.com/bats-core/bats-core/issues/145)) - abort with error on missing flock/shlock when running in parallel mode ([#&#8203;496](https://github.com/bats-core/bats-core/issues/496)) - improved `set -u` test and fixed some unset variable accesses ([#&#8203;498](https://github.com/bats-core/bats-core/issues/498), [#&#8203;501](https://github.com/bats-core/bats-core/issues/501)) - shorten suite/file/test temporary folder paths to leave enough space even on restricted systems ([#&#8203;503](https://github.com/bats-core/bats-core/issues/503)) ##### Documentation - minor edits ([#&#8203;478](https://github.com/bats-core/bats-core/issues/478)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xLjUiLCJ1cGRhdGVkSW5WZXIiOiIzNC4xMzIuMCJ9-->
renovate-bot added 1 commit 2022-10-27 16:44:31 +00:00
Some checks reported errors
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build encountered an error
df157d0f9c
Update bats/bats Docker tag to v1.8.2
renovate-bot changed title from Update bats/bats Docker tag to v1.8.2 to Update bats/bats Docker tag to v1.9.0 2023-02-12 17:47:19 +00:00
renovate-bot force-pushed renovate/bats-bats-1.x from df157d0f9c to 28d3ee2c06 2023-02-12 17:47:20 +00:00 Compare
renovate-bot force-pushed renovate/bats-bats-1.x from 28d3ee2c06 to 03246f7d96 2023-03-13 18:44:42 +00:00 Compare
renovate-bot force-pushed renovate/bats-bats-1.x from 03246f7d96 to adbf4d1635 2023-03-16 18:44:39 +00:00 Compare
tobru closed this pull request 2023-04-02 17:41:15 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: tobru/gitops-tbrnt#1151
No description provided.