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

go-pkgz / testutils
66%
main: 81%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.5.0
DEFAULT BRANCH: main
Repo Added 06 Aug 2023 11:36PM UTC
Files 9
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 add-e-suffix-container-variants
branch: add-e-suffix-container-variants
CHANGE BRANCH
x
Reset
  • add-e-suffix-container-variants
  • add-ftp-container
  • add-test-utilities
  • feature/file-operations
  • fix-ci-caching
  • fix-ssh-container-relative-paths
  • linter-improvements
  • main
  • master
  • refs/tags/v0.1.0
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.3.0
  • refs/tags/v0.4.0
  • refs/tags/v0.4.2
  • refs/tags/v0.4.3
  • refs/tags/v0.5.0

26 Dec 2025 08:55AM UTC coverage: 65.879% (-4.8%) from 70.659%
20519550856

Pull #7

github

umputun
feat(containers): add E-suffix variants for TestMain usage

Add error-returning variants of all container constructors for use in
TestMain where *testing.T is not available. E variants return (*Container, error)
instead of using require.NoError internally.

- Add NewPostgresTestContainerE and NewPostgresTestContainerWithDBE
- Add NewMySQLTestContainerE and NewMySQLTestContainerWithDBE
- Add NewMongoTestContainerE with env restoration on connect failure
- Add NewSSHTestContainerE and NewSSHTestContainerWithUserE
- Add NewFTPTestContainerE
- Add NewLocalstackTestContainerE
- Ensure container termination on all error paths
- Update README with TestMain example and E-suffix variants table
Pull Request #7: Add E-suffix container variants for TestMain usage

63 of 147 new or added lines in 6 files covered. (42.86%)

3 existing lines in 1 file now uncovered.

697 of 1058 relevant lines covered (65.88%)

3.72 hits per line

Relevant lines Covered
Build:
Build:
1058 RELEVANT LINES 697 COVERED LINES
3.72 HITS PER LINE
Source Files on add-e-suffix-container-variants
  • Tree
  • List 9
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20519550856 add-e-suffix-container-variants feat(containers): add E-suffix variants for TestMain usage Add error-returning variants of all container constructors for use in TestMain where *testing.T is not available. E variants return (*Container, error) instead of using require.NoError in... Pull #7 26 Dec 2025 08:59AM UTC umputun github
65.88
20519551739 add-e-suffix-container-variants feat(containers): add E-suffix variants for TestMain usage Add error-returning variants of all container constructors for use in TestMain where *testing.T is not available. E variants return (*Container, error) instead of using require.NoError in... Pull #7 26 Dec 2025 08:59AM UTC umputun github
65.88
20519402578 add-e-suffix-container-variants feat(containers): add E-suffix variants for TestMain usage Add error-returning variants of all container constructors for use in TestMain where *testing.T is not available. E variants return (*Container, error) instead of using require.NoError in... Pull #7 26 Dec 2025 08:49AM UTC umputun github
67.18
20519406989 add-e-suffix-container-variants feat(containers): add E-suffix variants for TestMain usage Add error-returning variants of all container constructors for use in TestMain where *testing.T is not available. E variants return (*Container, error) instead of using require.NoError in... Pull #7 26 Dec 2025 08:49AM UTC umputun github
67.18
See All Builds (49)
  • 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

© 2025 Coveralls, Inc