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

bleedingdeacons / reach / 35950637642
86%

Build:
DEFAULT BRANCH: main
Ran 24 Sep 2026 03:18AM UTC
Jobs 1
Files 95
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

24 Sep 2026 03:14AM UTC coverage: 86.422% (-0.02%) from 86.437%
35950637642

push

github

web-flow
test: convert the suite to Pest 5 (#122)

Every test file is now a closure-based Pest spec except one kept as a
PHPUnit class: SecureTransportConstantTest, split out of SecureTransportTest,
defines REACH_ALLOW_INSECURE_TRANSPORT and so must run in a separate process,
which Pest refuses. Pest runs it as it is.

tests/Pest.php binds every spec to ReachTestCase, except UserAgentTest,
which stays on wp-mocks' TestCase as it was. Private helpers became
file-level functions where they were pure and unique in the namespace, and
closures on $this in beforeEach where they needed the test case or their
name was shared with another file.

Test doubles that other test files reached by require_once-ing a whole test
file (WpdbStub, ConfigurableProvider, ControllerStubGeocoder) moved to
tests/Fixtures; the wpdb alias moved to tests/bootstrap.php, and the two
duplicate geocoder stubs gave way to the existing Fixtures\StubGeocoder.

tests/bootstrap.php defines PHPUNIT_COMPOSER_INSTALL when missing, so the
isolated child process has an autoloader under Pest. phpunit.xml.dist
raises memory_limit to 512M: with coverage on, unserialising that child's
result overran the 128M default and fataled the run.

1250 -> 1250 tests, 3590 -> 3590 assertions, 0 skipped. Line coverage
5808/6746 -> 5806/6745: RequiresSecureTransport's ABSPATH guard, which
covers() loads before coverage starts, and one CallAttemptsPage line that
pcov stops counting as executable once the file is loaded that early.
composer test, test:unit and test:coverage now run pest.

6384 of 7387 relevant lines covered (86.42%)

15.28 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
83.33
-8.33% reach/reach/src/Rest/RequiresSecureTransport.php
Jobs
ID Job ID Ran Files Coverage
1 35950637642.1 24 Sep 2026 03:18AM UTC 95
86.42
GitHub Action Run
Source Files on build 35950637642
  • Tree
  • List 95
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35950637642
  • 46042537 on github
  • Prev Build on main (#35543120714)
  • 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