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

bleedingdeacons / beacon / 30671900324
54%

Build:
DEFAULT BRANCH: main
Ran 31 Jul 2026 11:05PM UTC
Jobs 1
Files 17
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

31 Jul 2026 11:05PM UTC coverage: 49.01%. Remained the same
30671900324

push

github

web-flow
test: take WordPress stand-ins from wp-mocks (#28)

The bootstrap was ~150 lines of hand-rolled WordPress: WP_Error,
WP_Http_Cookie, WP_REST_Request, WP_REST_Response, is_wp_error() and the WP
HTTP API readers, backed by a local FakeWpHttp that was byte-for-byte the
package's own but for its namespace. All of it comes from
bleedingdeacons/wp-mocks now.

Two of those needed the package extending first, done in wp-mocks#4 and
released as v1.1.0:

  - the `rest` group, for WP_REST_Request/Response. Beacon, Reach and
    Integrity had each written their own; this is the union.
  - wp_remote_retrieve_cookies(), which WpHttpTransport reads off a login
    response to replay the session on the next request.

The PSR-11 stubs go as well — psr/container is a real `require`, so the
genuine interfaces come from the autoloader now that the bootstrap loads it.
Tamar was reaching into tests/stubs/ for them from its own bootstrap; that is
removed in its PR.

Only `wordpress` and `rest` are loaded. HasLogger no-ops when wp_log() is
absent — the logger mu-plugin is Sentinel's, and Beacon does not depend on
it — and that is the branch these tests run.

43 tests, PHPStan clean.

297 of 606 relevant lines covered (49.01%)

3.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30671900324.1 31 Jul 2026 11:05PM UTC 17
49.01
GitHub Action Run
Source Files on build 30671900324
  • Tree
  • List 17
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30671900324
  • e43b7294 on github
  • Prev Build on main (#30641142221)
  • Next Build on main (#30696025777)
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