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

payjoin / rust-payjoin / 13838537049
83%

Build:
DEFAULT BRANCH: master
Ran 13 Mar 2025 03:35PM UTC
Jobs 1
Files 42
Run time 43min
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

13 Mar 2025 03:33PM UTC coverage: 80.566% (+0.4%) from 80.189%
13838537049

push

github

web-flow
Add additional tests for v1 send module (#556)

Relates to #539 

These additional tests add more coverage for cargo mutant testing in
addition to removing `.unwrap()` where possible. For some of the missing
cargo mutant tests where the error occurs because of a change in
operator I have mostly avoided for now as I mainly focused on completely
missing test vectors.

Again I tried to make any modifications closely inline with #487 

Below are the mutants for `send/v1.rs` and `send/mod.rs` as of
df30f3b9d
<details>

```
// mod.rs
caught   payjoin/src/send/mod.rs:429:21: replace > with == in serialize_url in 7.6s build + 1.1s test
caught   payjoin/src/send/mod.rs:288:33: replace != with == in check_single_payee in 5.5s build + 1.1s test
caught   payjoin/src/send/mod.rs:241:45: replace < with > in PsbtContext::check_outputs in 6.0s build + 1.2s test
***MISSED   payjoin/src/send/mod.rs:431:67: replace / with * in serialize_url in 5.4s build + 1.5s test
caught   payjoin/src/send/mod.rs:154:54: replace == with != in PsbtContext::check_inputs in 6.3s build + 1.2s test
caught   payjoin/src/send/mod.rs:238:51: replace == with != in PsbtContext::check_outputs in 6.5s build + 1.3s test
caught   payjoin/src/send/mod.rs:241:45: replace < with == in PsbtContext::check_outputs in 5.7s build + 1.4s test
caught   payjoin/src/send/mod.rs:334:5: replace check_fee_output_amount -> Result<bitcoin::Amount, InternalBuildSenderError> with Ok(Default::default()) in 5.6s build + 0.9s test
***MISSED   payjoin/src/send/mod.rs:239:21: replace && with || in PsbtContext::check_outputs in 2.7s build + 0.8s test
***MISSED   payjoin/src/send/mod.rs:431:67: replace / with % in serialize_url in 13.5s build + 0.9s test
***MISSED   payjoin/src/send/mod.rs:262:53: replace == with != in PsbtContext::check_outputs in 1.6s build + 0.8s test
caught   payjoin/src/send/mod.rs:389:29: replace == with != in check_change_index in 1.6s build + 0.6s test
***MISSED   payj... (continued)

157 of 164 new or added lines in 5 files covered. (95.73%)

2 existing lines in 1 file now uncovered.

4784 of 5938 relevant lines covered (80.57%)

778.19 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
94.34
-0.16% payjoin/src/send/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
94.34
-0.16% payjoin/src/send/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 13838537049.1 13 Mar 2025 03:35PM UTC 42
80.57
GitHub Action Run
Source Files on build 13838537049
  • Tree
  • List 42
  • Changed 8
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13838537049
  • 4c52cbcd on github
  • Prev Build on master (#13825165112)
  • Next Build on master (#13839302301)
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