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

parroty / exvcr / d1c17651682c7457f5393c901b62f170240d73af
90%

Build:
DEFAULT BRANCH: master
Ran 27 Aug 2023 04:46AM UTC
Jobs 10
Files 33
Run time 3s
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

27 Aug 2023 04:45AM UTC coverage: 92.438% (+0.2%) from 92.248%
d1c17651682c7457f5393c901b62f170240d73af

push

github

web-flow
Normalizes request body and URL by parsing params to a list and sorting (#211)

* Normalizes request body by parsing as params, then converting to a list

Before this change, if the request body was a list of params that were
in a different order than the params in the cassette, the request body
match would fail.

As of OTP 26, map key order is not guaranteed, so request bodies that
are created using maps can fail to match since the order of their keys
is not idempotent.

These changes convert the request body to a list of params and sort it
before comparing it to the request body in the cassette. This ensures
cassettes will be matched as long as their request bodies contain the
same set of key-value pairs as the incoming request body.

* Normalizes url by parsing params, converting to a list, and sorting

Before this change, if the url query params were in a different order
than the url params in the cassette, the request body match would fail.

As of OTP 26, map key order is not guaranteed, so url params that are
created using maps can fail to match since the order of their keys is
not idempotent.

These changes convert the url params to a list and sort it before
comparing it to the url in the cassette. This ensures cassettes will be
matched as long as their url params contain the same set of key-value
pairs as the incoming url params (and the rest of the url matches too).

9 of 9 new or added lines in 1 file covered. (100.0%)

599 of 648 relevant lines covered (92.44%)

1116.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 d1c17651682c7457f5393c901b62f170240d73af.1 27 Aug 2023 04:46AM UTC 32
90.17
GitHub Action Run
2 d1c17651682c7457f5393c901b62f170240d73af.2 27 Aug 2023 04:46AM UTC 32
89.86
GitHub Action Run
3 d1c17651682c7457f5393c901b62f170240d73af.3 27 Aug 2023 04:46AM UTC 32
88.33
GitHub Action Run
4 d1c17651682c7457f5393c901b62f170240d73af.4 27 Aug 2023 04:46AM UTC 32
90.02
GitHub Action Run
5 d1c17651682c7457f5393c901b62f170240d73af.5 27 Aug 2023 04:46AM UTC 32
90.02
GitHub Action Run
6 d1c17651682c7457f5393c901b62f170240d73af.6 27 Aug 2023 04:46AM UTC 32
88.48
GitHub Action Run
7 d1c17651682c7457f5393c901b62f170240d73af.7 27 Aug 2023 04:46AM UTC 32
89.86
GitHub Action Run
8 d1c17651682c7457f5393c901b62f170240d73af.8 27 Aug 2023 04:46AM UTC 32
88.48
GitHub Action Run
9 d1c17651682c7457f5393c901b62f170240d73af.9 27 Aug 2023 04:47AM UTC 32
88.48
GitHub Action Run
10 d1c17651682c7457f5393c901b62f170240d73af.10 27 Aug 2023 04:47AM UTC 32
88.33
GitHub Action Run
Source Files on build d1c17651682c7457f5393c901b62f170240d73af
  • Tree
  • List 33
  • Changed 20
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d1c17651 on github
  • Prev Build on master (#406AF2DF...)
  • Next Build on master (#9E0DCFB6...)
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