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

yyle88 / osexec / 19733236322

27 Nov 2025 10:30AM UTC coverage: 35.742% (+0.2%) from 35.505%
19733236322

push

github

yyle88
Improve: Upgrade issue processing and test aids

This commit upgrades issue management to prevent duplicate log output and introduces a new test assistance package to make tests more robust.

Main changes:
- **Issue Management**: Substituted erero.Wro with errors.WithMessagef in WarpOutcome to avoid unneeded log entries while keeping the exit code context.
- **New osexectest package**: Crafted the osexectest package with a SkipIfCommandNotFound assistance function. This streamlines tests that depend on outside commands (like zsh) and stops them from failing if the command is not present.
- **Test Upgrades**: Updated command_test.go and example tests to use the new SkipIfCommandNotFound assistance function, removing repetitive code.
- **Prerequisite Update**: Added github.com/pkg/errors as a direct requirement.
- **Documentation**: Updated comments and README files to echo the changes.

5 of 10 new or added lines in 2 files covered. (50.0%)

43 existing lines in 2 files now uncovered.

272 of 761 relevant lines covered (35.74%)

10.31 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.42
/command.go


Build SHA Not Found

The commit SHA "5d509bfec9b28ee842b2a9ccb15a4d3db3312ba3" was not found in your repository, so the file cannot be loaded. This may be because you posted from a local development environment, or your CI created an ephemeral commit.

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