• 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 refs/tags/v0.5.0
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 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 09:00AM UTC coverage: 65.879% (-4.8%) from 70.659%
20519636085

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

Relevant lines Covered
Build:
Build:
1058 RELEVANT LINES 697 COVERED LINES
3.72 HITS PER LINE
Source Files on main
  • 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
20519636085 refs/tags/v0.5.0 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.NoErr... push 26 Dec 2025 09:05AM UTC web-flow github
65.88
20519616013 master 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.NoErr... push 26 Dec 2025 09:05AM UTC web-flow github
65.88
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
19903551701 master fix CI workflow caching by reordering checkout and setup-go steps (#6) - move checkout step before setup-go to enable proper Go module caching - update actions/checkout to v4 and actions/setup-go to v5 - update golangci-lint-action to v7 with lat... push 03 Dec 2025 05:56PM UTC web-flow github
70.66
19901976040 fix-ci-caching fix CI workflow caching by reordering checkout and setup-go steps - move checkout step before setup-go to enable proper Go module caching - update actions/checkout to v4 and actions/setup-go to v5 - update golangci-lint-action to v7 with version ... push 03 Dec 2025 05:01PM UTC paskal github
70.66
19901981345 fix-ci-caching fix CI workflow caching by reordering checkout and setup-go steps - move checkout step before setup-go to enable proper Go module caching - update actions/checkout to v4 and actions/setup-go to v5 - update golangci-lint-action to v7 with latest v... Pull #6 03 Dec 2025 05:00PM UTC paskal github
70.66
19901328549 fix-ci-caching fix CI workflow caching by reordering checkout and setup-go steps - move checkout step before setup-go to enable proper Go module caching - update actions/checkout to v4 and actions/setup-go to v5 - update golangci-lint-action to v7 with version ... Pull #6 03 Dec 2025 04:39PM UTC paskal github
70.66
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