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

codozor / fwkeeper
50%
main: 45%

Build:
Build:
LAST BUILD BRANCH: feat/error-classification-pod-lifecycle
DEFAULT BRANCH: main
Repo Added 22 Nov 2025 08:58AM UTC
Files 14
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

LAST BUILD ON BRANCH feat/forwarder-integration-tests
branch: feat/forwarder-integration-tests
CHANGE BRANCH
x
Reset
  • feat/forwarder-integration-tests
  • feat/error-classification-pod-lifecycle
  • feat/improve-config-validation
  • feat/tests
  • main

23 Nov 2025 04:18PM UTC coverage: 49.624% (+3.4%) from 46.241%
19614077836

Pull #9

github

SebastienLaurent-CF
✅ test: Add forwarder integration tests

Implement 7 comprehensive integration tests for the Forwarder package to verify
core port-forwarding logic, retry behavior, and graceful shutdown.

## Tests Added

**Integration Tests** (internal/forwarder/forwarder_test.go)
1. **TestForwarderStartWithValidPod** - Happy path: pod located successfully
2. **TestForwarderLocatorError** - Retry behavior when locator fails (pod not found)
3. **TestForwarderRetryAttemptIncrement** - Verify attempt counter increments on failures
4. **TestForwarderContextCancellation** - Graceful shutdown on context cancellation
5. **TestForwarderInfoString** - Forwarder info formatting for logs
6. **TestForwarderCalculateBackoff** - Exponential backoff calculation with max delay enforcement
7. **TestForwarderConfig** - Config getter method verification
Pull Request #9: ✅ test: Add forwarder integration tests

396 of 798 relevant lines covered (49.62%)

0.55 hits per line

Relevant lines Covered
Build:
Build:
798 RELEVANT LINES 396 COVERED LINES
0.55 HITS PER LINE
Source Files on feat/forwarder-integration-tests
  • Tree
  • List 13
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19614077836 feat/forwarder-integration-tests ✅ test: Add forwarder integration tests Implement 7 comprehensive integration tests for the Forwarder package to verify core port-forwarding logic, retry behavior, and graceful shutdown. ## Tests Added **Integration Tests** (internal/forwarder/... Pull #9 23 Nov 2025 04:30PM UTC SebastienLaurent-CF github
49.62
See All Builds (18)
  • Repo on GitHub
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