Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Sign In

mbland / go-script-bash / 826
95%

DEFAULT BRANCH: master
Build:
Repo Added 13 Sep 2016 05:47PM UTC
Total Files 69
# Builds 758 Last
Badge
Badge Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Jun 2018 - 3:52 coverage decreased (-0.03%) to 94.997%
826

Pull #245

travis-ci

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
Fix breakage from Bats v1.0.0, bump to Bats v1.0.1

https://github.com/bats-core/bats-core/releases/tag/v1.0.0, while
honoring the same interface as v0.4.0, introduced a few changes that
required some cleanup of our Bats utilities:

- bin/bats is no longer a symlink to libexec/bats, and the latter can no
  longer be invoked directly; hence _GO_BATS_PATH is now set to
  bin/bats.

- TAP output for skipped tests changed in bats-core/bats-core#19.

- run_bats_test_suite_in_isolation depended upon _GO_ROOTDIR and
  _GO_BATS_PATH, which led to bats not being able to find its libexec
  scripts. The bats path is now computed using `command -v bats`, which
  makes the library itself more portable.

- Some assertion-test-helpers output didn't end with a newline. This
  prevented the `while` loop used to replace `sed` in
  bats-core/bats-core#88 from reading the final line of output from the
  test. While this was fixed in bats-core/bats-core#99, updating the
  code to always emit newlines was still the right thing to do.

There was a bug in Bats v1.0.0 in setting `BATS_CWD` that broke the
"assertion-test-helpers: failing assertion must disable shell options"
test case. Specifically, stack trace paths that should've looked like:

  tests/assertion-test-helpers.bash

instead looked like:

  go-script-bash/tests/assertion-test-helpers.bash

This was fixed by bats-core/bats-core#98.
Pull Request #245: Fix breakage from Bats v1.0.0, bump to Bats v1.0.1

7 of 8 new or added lines in 3 files covered. (87.5%)

3228 of 3398 relevant lines covered (95.0%)

250.03 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
87.29
-0.85% lib/bats/assertion-test-helpers
Jobs
Coverage Job Files Covered Ran
95.0
826.1 69 10 Jun 2018 04:03AM UTC Travis Job 826.1
Source Files on build 826
  • Tree
  • List 69
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #826
  • Pull Request #245
  • PR Base - master (#819)
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
BLOG · TWITTER · Legal & Privacy · Supported CI Services · What's a CI service? · Automated Testing

© 2022 Coveralls, Inc