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

go-pkgz / testutils / 20519616013
66%
main: 81%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.5.0
DEFAULT BRANCH: main
Ran 26 Dec 2025 09:05AM UTC
Jobs 1
Files 9
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

26 Dec 2025 09:00AM UTC coverage: 65.879% (-4.8%) from 70.659%
20519616013

push

github

web-flow
feat(containers): add E-suffix variants for TestMain usage (#7)

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

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

New Missed Lines in Diff

Lines Coverage ∆ File
8
76.25
-3.88% containers/localstack.go
11
83.33
-16.67% containers/mysql.go
11
82.26
-17.74% containers/psql.go
13
72.65
-4.27% containers/ssh.go
18
63.64
-24.12% containers/mongo.go
23
35.27
-3.52% containers/ftp.go

Uncovered Existing Lines

Lines Coverage ∆ File
3
35.27
-3.52% containers/ftp.go
Jobs
ID Job ID Ran Files Coverage
1 20519616013.1 26 Dec 2025 09:05AM UTC 9
65.88
GitHub Action Run
Source Files on build 20519616013
  • Tree
  • List 9
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 49275104 on github
  • Prev Build on master (#19903551701)
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