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

caarloshenriq / rust-payjoin / 29760717174
86%
master: 86%

Build:
Build:
LAST BUILD BRANCH: feat/payjoin-nostd
DEFAULT BRANCH: master
Ran 20 Jul 2026 04:46PM UTC
Jobs 1
Files 65
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

20 Jul 2026 04:41PM UTC coverage: 85.722% (+0.1%) from 85.611%
29760717174

push

github

caarloshenriq
Add e2e round trip tests for payjoin v1 and v2

Add payjoin/tests/e2e.rs with two independent round trip tests, split
into cfg-gated submodules since v1 and v2 have different feature
requirements:

- v1: runs entirely in memory under the no_std-compatible alloc,v1
  feature set. Drives the full sender and receiver typestate chain
  with no OHTTP or directory involved, since v1 is plain
  request/response bytes. This is the test that actually exercises
  the no_std surface end to end, not just at compile time.

- v2: cannot run under that restricted feature set, since the sender
  side of v2 still requires v2-ohttp/std. Instead this proves that
  the receiver side, driven by a real OHTTP-encapsulated request from
  a real sender, walks the same typestate chain already verified to
  compile for thumbv7em-none-eabihf. Uses a small in-memory stand-in
  for the directory and OHTTP relay (decapsulate, route GET/POST
  against a single-message mailbox, re-encapsulate) instead of the
  real local servers tests/integration.rs already spins up, so it
  stays fast and dependency-free.

Both tests have the receiver contribute a real input from its own
UTXO before finalizing, rather than only fee-bumping the original
PSBT, so they exercise an actual payjoin (combined inputs from both
parties) and not just protocol plumbing.

Wire both into contrib/test.sh: the v2 module runs as part of the
--all-features e2e run, and v1 gets its own explicit
--no-default-features --features alloc,v1 invocation, since that's
the only place the no_std guarantee is actually exercised at runtime
rather than just checked at compile time.

13731 of 16018 relevant lines covered (85.72%)

344.71 hits per line

Coverage Regressions

Lines Coverage ∆ File
55
68.3
0.0% payjoin-mailroom/src/lib.rs
5
0.0
0.0% payjoin-mailroom/src/main.rs
5
99.27
-0.0% payjoin/src/core/receive/common/mod.rs
3
99.0
0.0% payjoin/src/core/receive/v2/session.rs
Jobs
ID Job ID Ran Files Coverage
1 29760717174.1 20 Jul 2026 04:46PM UTC 65
85.72
GitHub Action Run
Source Files on build 29760717174
  • Tree
  • List 65
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29760717174
  • 4377a7b0 on github
  • Prev Build on feat/payjoin-nostd (#29594280660)
  • Next Build on feat/payjoin-nostd (#29831355222)
  • 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