vshn / espejo

OpenShift and Kubernetes Object Syncer
BSD 3-Clause "New" or "Revised" License
11 stars 2 forks source link

Update dependency bats to v1.10.0 #138

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
bats 1.7.0 -> 1.10.0 age adoption passing confidence

Release Notes

bats-core/bats-core (bats) ### [`v1.10.0`](https://togithub.com/bats-core/bats-core/releases/tag/v1.10.0) [Compare Source](https://togithub.com/bats-core/bats-core/compare/v1.9.0...v1.10.0) #### Added: - add `${BATS_TEST_TAGS[@​]}` for querying the tags during a test ([#​705](https://togithub.com/bats-core/bats-core/issues/705)) - print tags on failing tests ([#​705](https://togithub.com/bats-core/bats-core/issues/705)) - test for negative arguments to `--jobs` ([#​693](https://togithub.com/bats-core/bats-core/issues/693)) - add tests for `--formatter cat` ([#​710](https://togithub.com/bats-core/bats-core/issues/710)) - test coverage in CI ([#​718](https://togithub.com/bats-core/bats-core/issues/718)) - Support for [rush](https://togithub.com/shenwei356/rush) as alternative to GNU parallel ([#​729](https://togithub.com/bats-core/bats-core/issues/729)) - add `bats_pipe` helper function for `run` that executes `\|` as pipes ([#​663](https://togithub.com/bats-core/bats-core/issues/663)) - publish docker images to ghcr.io (additionally to Dockerhub) ([#​740](https://togithub.com/bats-core/bats-core/issues/740)) ##### Documentation: - clarify use cases of `--formatter cat` ([#​710](https://togithub.com/bats-core/bats-core/issues/710)) #### Fixed: - fix `run` with options overwriting the value of `i` ([#​726](https://togithub.com/bats-core/bats-core/issues/726), [#​727](https://togithub.com/bats-core/bats-core/issues/727)) - fix `${BATS_TEST_NAMES[@​]}` containing only `--tags` instead of test name since Bats v1.8.0 ([#​705](https://togithub.com/bats-core/bats-core/issues/705)) - fix `run --keep-empty-lines` counting trailing `\n` as (empty) new line ([#​711](https://togithub.com/bats-core/bats-core/issues/711)) - fix short flag unpacker creating bogus command lines with valued flags ([#​732](https://togithub.com/bats-core/bats-core/issues/732)) - fix formatter becoming confused with retries ([#​734](https://togithub.com/bats-core/bats-core/issues/734)) - fix `--gather-test-outputs-in` fails on tests with `/` ([#​735](https://togithub.com/bats-core/bats-core/issues/735)) - fix overriding `date` breaks `--timing` ([#​736](https://togithub.com/bats-core/bats-core/issues/736)) ##### Documentation - typos, minor edits ([#​704](https://togithub.com/bats-core/bats-core/issues/704)) - simplified contributing.md ([#​718](https://togithub.com/bats-core/bats-core/issues/718)) ### [`v1.9.0`](https://togithub.com/bats-core/bats-core/releases/tag/v1.9.0) [Compare Source](https://togithub.com/bats-core/bats-core/compare/v1.8.2...v1.9.0) #### Added: - add installation instructions for Debian, Fedora, Gentoo, and OpenSUSE ([#​659](https://togithub.com/bats-core/bats-core/issues/659)) - add `--line-reference-format` to switch file/line references in stack traces ([#​665](https://togithub.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 ([#​679](https://togithub.com/bats-core/bats-core/issues/679)) - add bats-support, bats-assert, bats-file and bats-detik to Dockerfile ([#​674](https://togithub.com/bats-core/bats-core/issues/674)) ##### Documentation: - add `--help` text and `man` page content for `--filter-tags` ([#​679](https://togithub.com/bats-core/bats-core/issues/679)) #### Fixed: - explicitly check for GNU parallel ([#​691](https://togithub.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 ([#​692](https://togithub.com/bats-core/bats-core/issues/692)) ##### Documentation - improved clarity of section about output in free code ([#​671](https://togithub.com/bats-core/bats-core/issues/671)) - fixed typos ([#​673](https://togithub.com/bats-core/bats-core/issues/673)) - clarify use cases of `run` ([#​366](https://togithub.com/bats-core/bats-core/issues/366)) ### [`v1.8.2`](https://togithub.com/bats-core/bats-core/releases/tag/v1.8.2) [Compare Source](https://togithub.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 ([#​670](https://togithub.com/bats-core/bats-core/issues/670)) ### [`v1.8.1`](https://togithub.com/bats-core/bats-core/releases/tag/v1.8.1) [Compare Source](https://togithub.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 ([#​651](https://togithub.com/bats-core/bats-core/issues/651)) - avoid kernel warning flood/hang with CTRL+C on Bash 5.2 RC ([#​656](https://togithub.com/bats-core/bats-core/issues/656)) - Fix infinite wait with (invalid) `-j` (without space) ([#​657](https://togithub.com/bats-core/bats-core/issues/657)) ### [`v1.8.0`](https://togithub.com/bats-core/bats-core/releases/tag/v1.8.0) [Compare Source](https://togithub.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 ` (also works for `--report-formatter`) ([#​602](https://togithub.com/bats-core/bats-core/issues/602)) - running only tests that failed in the last run via `--filter-status failed` ([#​483](https://togithub.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 ([#​618](https://togithub.com/bats-core/bats-core/issues/618)) - Docker tags `latest-no-faccessat2` and `-no-faccessat2` for avoiding `bash: bats: No such file or directory` on `docker<20.10` (or `runc`/`# bats file_tags=` and `--filter-tags ` for tagging tests for execution filters ([#​642](https://togithub.com/bats-core/bats-core/issues/642)) - warning BW03: inform about `setup_suite` in wrong file (`.bats` instead of `setup_suite.bash`) ([#​652](https://togithub.com/bats-core/bats-core/issues/652)) ##### Documentation - update gotcha about negated statements: Recommend using `run !` on Bats versions >=1.5.0 ([#​593](https://togithub.com/bats-core/bats-core/issues/593)) - add documentation for `bats_require_minimum_version` ([#​595](https://togithub.com/bats-core/bats-core/issues/595)) - improve documentation about `setup_suite` ([#​652](https://togithub.com/bats-core/bats-core/issues/652)) #### Fixed: - added missing shebang ([#​597](https://togithub.com/bats-core/bats-core/issues/597)) - remaining instances of `run -` being incorrectly documented as `run =` ([#​599](https://togithub.com/bats-core/bats-core/issues/599)) - allow `--gather-test-outputs-in ` to work with existing, empty directories ([#​603](https://togithub.com/bats-core/bats-core/issues/603)) - also add `--clean-and-gather-test-outputs-in ` for improved UX - double slashes in paths derived from TMPDIR on MacOS ([#​607](https://togithub.com/bats-core/bats-core/issues/607)) - fix `load` in `teardown` marking failed tests as not run ([#​612](https://togithub.com/bats-core/bats-core/issues/612)) - fix unset variable errors (with set -u) and add regression test ([#​621](https://togithub.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) ([#​623](https://togithub.com/bats-core/bats-core/issues/623)) - upgraded from deprecated CI envs for MacOS (10 -> 11,12) and Ubuntu (18.04 -> 22.04) ([#​630](https://togithub.com/bats-core/bats-core/issues/630)) - add `/usr/lib/bats` as default value for `BATS_LIB_PATH` ([#​628](https://togithub.com/bats-core/bats-core/issues/628)) - fix unset variable in `bats-formatter-junit` when `setup_file` fails ([#​632](https://togithub.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 ([#​633](https://togithub.com/bats-core/bats-core/issues/633)) - fix unbound variable errors with `set -u` on `setup_suite` failures ([#​643](https://togithub.com/bats-core/bats-core/issues/643)) - fix `load` not being available in `setup_suite` ([#​644](https://togithub.com/bats-core/bats-core/issues/644)) - fix RPM spec, add regression test ([#​648](https://togithub.com/bats-core/bats-core/issues/648)) - fix handling of `IFS` by `run` ([#​650](https://togithub.com/bats-core/bats-core/issues/650)) - only print `setup_suite`'s stderr on errors ([#​649](https://togithub.com/bats-core/bats-core/issues/649)) ##### Documentation - fix typos, spelling and links ([#​596](https://togithub.com/bats-core/bats-core/issues/596), [#​604](https://togithub.com/bats-core/bats-core/issues/604), [#​619](https://togithub.com/bats-core/bats-core/issues/619), [#​627](https://togithub.com/bats-core/bats-core/issues/627)) - fix redirection order of an example in the tutorial ([#​617](https://togithub.com/bats-core/bats-core/issues/617))

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.



This PR has been generated by Mend Renovate. View repository job log here.