document new warning infrastructure (#589, #587, #586)
Fixed:
unbound variable errors in formatters when using SHELLOPTS=nounset (-u) (#558)
don't require flockandshlock 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)
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.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ bats (1.6.0 → 1.7.0) · Repo
Release Notes
1.7.0
1.6.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 73 commits:
feat: release Bats v1.7.0
Merge pull request #589 from martin-schulze-vireso/feature/improve_warnings_index
Add changelog entry for #589
Docs: Improve index page of warnings
Add changelog entry for #579
Merge pull request #587 from martin-schulze-vireso/feature/add_bats_require_minimum_version
Add changelog entry for #587
Add documentation for warnings
Add BW02, fix it in test suite
Add and test bats_require_minimum_version
Merge pull request #586 from martin-schulze-vireso/feature/bats_warnings
Fix test failure under alpine due to wrong path
Add changelog enrty for #586
Add debug output for CI
Fix shellcheck
Add warning reporting and first warning BW01
Merge pull request #585 from martin-schulze-vireso/feature/more_setup_suite_tests
Fix platform dependent path
Ensure we have tracing loaded before stacktrace is printed
Add changelog entry for #585
Report errors in setup_suite.bash, with tests
Merge pull request #583 from martin-schulze-vireso/fix/issue-573-run_--keep-empty-lines_has_one_line_for_empty_output
Add changelog entry for #583
Make run --keep-empty-lines return zero lines on empty output
Add regression test for #573
Merge pull request #581 from martin-schulze-vireso/fix/issue-575-run-in-teardown_file-overrides-exit-code
Add changelog entry for #581
Fix status in teardown* overriding exit code (fixes #575)
Add regression test for #575
Merge pull request #579 from jpluscplusm/patch-1
Remove reference to broken `=<exit-code>` syntax
Merge pull request #571 from martin-schulze-vireso/feature/setup_suite
Add documentation for setup_suite
Add changelog entry for #571
Fix shellcheck
add setup/teardown_suite
Merge pull request #568 from jayvdb/patch-2
Add changelog entry for #568
usage.md: Fix link syntax
Merge pull request #567 from jayvdb/patch-1
Add changelog entry for #567
README.md: Remove '2018' from headline
Merge pull request #561 from martin-schulze-vireso/feature/demarcate_file_boundaries
Add changelog entry for #561
Document BATS_TEST_NAME_PREFIX
pretty: Allow for changing test name in @test
Allow for adding a prefix to all tests
pretty: Show when a new file is entered
pretty: Fix empty lines showing as #
Merge pull request #560 from martin-schulze-vireso/fix/issue_514_invalid_symlinks
Add changelog entry for #560
Remove broken symlink
Add test for broken symlinks
Merge pull request #559 from martin-schulze-vireso/issue_555_tap13_missing_test_name_with_timing_report_on_failure
Add changelog entry for #555
Fix quoting
Fix name of failing test not printed
Add tests for tap13 formatter (fixes #443)
Merge pull request #554 from abathur/abathur-patch-1
Make test less scheduling dependent
Add changelog entry for #554
Avoid spurious errors in parallel mode
require flock or shlock, not both
Add Priority: Needs Triage to new bugs/feature requests
Merge pull request #558 from NoahGorny/handle-unbound-var-bats-format-pretty
Add changelog entry for #558
Fix further unbound variable errors in formatters
Add reproducer for #558
libexec: bats-core: Handle unbound variable in bats-format-pretty
Merge pull request #557 from NorthboundTrain/add-bats_version
Add changelog entry for #557
Add to man page
Add documentation for BATS_VERSION
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands