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

l50 / goutils / 9478518530
88%

Build:
DEFAULT BRANCH: main
Ran 12 Jun 2024 07:37AM UTC
Jobs 1
Files 33
Run time 1min
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

12 Jun 2024 07:30AM UTC coverage: 59.455% (-0.3%) from 59.775%
9478518530

push

github

web-flow
Refactored jobHelpers and tests for mock implementation (#794)

Added:**

- `DynK8sInterface` and `K8sLoggerInterface` for mocking dynamic k8s and logger.
- `JobPodNameGetter` interface for better abstraction.
- `DefaultJobPodNameGetter` to implement default behavior for getting job pod names.

**Changed:**

- Refactored `JobsClient` to use new interfaces.
- Updated `StreamJobLogs` to utilize the new interfaces for better mocking.
- Corrected test cases to mock the new interfaces and verify expectations.

**Removed:**

- Removed redundant import of `k8sLogger` from `jobHelpers.go`.
- Removed old `MockJobsClient` implementation and redundant test cases from
  `jobHelpers_test.go`.

23 of 54 new or added lines in 1 file covered. (42.59%)

1723 of 2898 relevant lines covered (59.45%)

10.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9478518530.1 12 Jun 2024 07:37AM UTC 0
59.45
GitHub Action Run
Source Files on build 9478518530
Detailed source file information is not available for this build.
  • Back to Repo
  • 99e25490 on github
  • Prev Build on main (#9477789802)
  • Next Build on main (#9478741460)
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