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

l50 / goutils / 9478741460 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 12 Jun 2024 07:55AM UTC
Files 33
Run time 1s
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:48AM UTC coverage: 59.455% (-0.3%) from 59.775%
9478741460.1

push

github

actions-user
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`.

1723 of 2898 relevant lines covered (59.45%)

10.03 hits per line

Source Files on job 9478741460.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9478741460
  • 44ce4309 on github
  • Prev Job for on main (#9477789802.1)
  • Next Job for on main (#9478819599.1)
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