Skip to content

chore(deps-dev): bump bats from 1.4.1 to 1.8.0#38

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/bats-1.8.0
Closed

chore(deps-dev): bump bats from 1.4.1 to 1.8.0#38
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/bats-1.8.0

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Sep 19, 2022

Bumps bats from 1.4.1 to 1.8.0.

Release notes

Sourced from bats's releases.

v1.8.0

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)

... (truncated)

Changelog

Sourced from bats's changelog.

[1.8.0] - 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)

... (truncated)

Commits
  • e9b286b feat: release Bats v1.8.0
  • 9734665 Merge pull request #652 from martin-schulze-vireso/fix/issue_635_lacking_docu...
  • 430c1df Fix unbound variable error
  • 35385aa Fix shellcheck warnigns
  • 63bbd2d Fix unbound variable error
  • 78b283f Add changelog entry for #652
  • cbfad5b Docs: Further detail about setup_suite
  • 926ab4e Docs: Add explanation for BW03
  • cb0434e Add tests for fixing BW03
  • f2b1d80 Ensure exec-file can see when a customized setup_suite was executed
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [bats](https://github.com/bats-core/bats-core) from 1.4.1 to 1.8.0.
- [Release notes](https://github.com/bats-core/bats-core/releases)
- [Changelog](https://github.com/bats-core/bats-core/blob/master/docs/CHANGELOG.md)
- [Commits](bats-core/bats-core@v1.4.1...v1.8.0)

---
updated-dependencies:
- dependency-name: bats
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 19, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 24, 2022

Superseded by #40.

@dependabot dependabot bot closed this Oct 24, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/bats-1.8.0 branch October 24, 2022 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

Comments