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

umputun / remark42 / 44462927379
87%

Build:
DEFAULT BRANCH: master
Ran 19 Nov 2026 05:09AM UTC
Jobs 1
Files 56
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

19 Nov 2026 05:07AM UTC coverage: 86.067%. Remained the same
44462927379

push

github

web-flow
Make backend tests fail on broken code and stop them sharing paths (#2314)

* Make tests fail when the code they cover breaks

Several tests passed with the behaviour they cover broken.
TestServerApp_DeprecatedArgsCollisions ended by asserting that an empty
literal is empty, and its last case passed --smtp.host='', which without
a shell is the two quote characters and does collide. TestService_Many
passed with delivery switched off; the two drop tests already pin a full
queue exactly, so it goes. TestDispatchTelegramUpdates did not check that
the dispatcher polled, advanced the offset or called a receiver; it now
checks the polled URLs, the offset after
the last update and what each receiver gets. Test_Read never read an
embedded template, and TestAdmin_DeleteUser checked the user of the
second comment twice and the third one never.

The support command tests and main_test.go called require from httptest
handlers and goroutines, where FailNow must not be called because it
only works on the test goroutine; they use assert.

* Keep the notification tests off the internet and the real clock

TestTelegram_NewError called the public Telegram API and passed on its
404, and TestWebhook_Send relied on not-existing-url.net not resolving.
Both now talk to local httptest servers, one answering 404 and one
already closed.

TestEmail_Send and TestEmail_SendVerification spent four seconds in real
250 ms retry sleeps. They run in a synctest bubble with SMTP port
99999, which the dialer rejects as invalid before connecting, so the
bubble does no real I/O.

* Keep the remaining backend tests off shared paths and ports

The migrator tests used /tmp/remark-test.db, /tmp/wordpress-test.xml,
/tmp/disqus-test.r42, /tmp/remark-backups.test and /tmp/migrator-<n>.db,
and the service tests random names in $TMPDIR, some never removed. Two
runs on one machine shared those files. Server cases that reached the
image or avatar store without a path wrote ./var into the source tree,
... (continued)

6245 of 7256 relevant lines covered (86.07%)

44.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44462927379.1 19 Nov 2026 05:09AM UTC 56
86.07
GitHub Action Run
Source Files on build 44462927379
  • Tree
  • List 56
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 327dea16 on github
  • Prev Build on master (#44462567203)
  • Next Build on master (#44463788320)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc