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

cybertec-postgresql / pgwatch / 20057707181
74%

Build:
DEFAULT BRANCH: master
Ran 09 Dec 2025 09:05AM UTC
Jobs 1
Files 44
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

09 Dec 2025 09:00AM UTC coverage: 73.807% (-0.2%) from 73.988%
20057707181

push

github

web-flow
[*] migrate all helpers to `testutil` (#1071)

* Move `sources` package helper functions to `testutil`.

* Move all helpers in `webserver` package to `testutil`.

* Add tests for `Mock{Sources,Metrics}ReaderWriter` to increase test coverage.

* Use `testutil` instead of manual container setup.

* Use testutil `helpers` instead of manually creating mocks/containers.

* Remove `TestSetupRPCServers()`

The setup function should be invoked once across all tests
because it setups a global port listener,
otherwise running tests parallely
may fail with `address already in use` error.

* Add tests to increase test coverage.

* remove `testutil.ExpectQuery`, overruled by #1067

* move `createTestSourceConn()` back to reaper

* Set etcd container version in `EtcdVersion` const.

It maybe useful for logging.

* Revert moving `mockFs` to `testutils`.

* Revert signature change in `createTestSourceConn()`

* Fix line spacing.

---------

Co-authored-by: Pavlo Golub <pavlo.golub@gmail.com>

64 of 64 new or added lines in 2 files covered. (100.0%)

26 existing lines in 1 file now uncovered.

3804 of 5154 relevant lines covered (73.81%)

0.84 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
26
65.17
-27.02% internal/testutil/setup.go
Jobs
ID Job ID Ran Files Coverage
1 20057707181.1 09 Dec 2025 09:05AM UTC 44
73.81
GitHub Action Run
Source Files on build 20057707181
  • Tree
  • List 44
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20057707181
  • 759df3a1 on github
  • Prev Build on master (#20057129747)
  • Next Build on master (#20103470071)
  • Delete
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