• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

l50 / goutils / 7237386378
88%

Build:
DEFAULT BRANCH: main
Ran 17 Dec 2023 08:37AM UTC
Jobs 1
Files 23
Run time 3s
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

17 Dec 2023 08:33AM UTC coverage: 68.199% (-0.1%) from 68.348%
7237386378

push

github

web-flow
Enhanced RunCmd Functionality and Testing in sysutils (#529)

**Changed:**
- Revised `RunCmd` in `sysutils.go` to return combined output and error.
- Updated `handleOutput` to write to output buffer alongside the OutputHandler.
- Simplified output handling logic by removing redundant channels.

**Updated Testing:**
- Modified `TestRunCmd` in `sysutils_test.go` to test both default and custom output handlers.
- Ensured tests validate command output accuracy and error handling.
- Included example usage of `RunCmd` with a custom log output handler.

**Note:**
- These changes enhance the `RunCmd` function, providing more flexibility in capturing and handling command output, and robust testing ensures reliability across different scenarios.

6 of 8 new or added lines in 1 file covered. (75.0%)

1469 of 2154 relevant lines covered (68.2%)

12.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7237386378.1 17 Dec 2023 08:37AM UTC 0
68.2
GitHub Action Run
Source Files on build 7237386378
Detailed source file information is not available for this build.
  • Back to Repo
  • 1e7b8453 on github
  • Prev Build on main (#7235578810)
  • Next Build on main (#7269627629)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc