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

NFIBrokerage / slipstream / b87df7204791f041446dcca766380c40ca92284c-PR-72
99%
main: 100%

Build:
Build:
LAST BUILD BRANCH: test-ci
DEFAULT BRANCH: main
Ran 13 Jan 2025 10:37PM UTC
Jobs 1
Files 44
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

13 Jan 2025 02:37PM UTC coverage: 99.318% (+0.004%) from 99.314%
b87df7204791f041446dcca766380c40ca92284c-PR-72

Pull #72

github

Gazler
Add support for a binary serializer

In some cases, when using Phoenix channels, it is possible to use a
binary serializer. The library already has support for binary messages,
but this is slightly different. With a binary serializer, all messages
can be sent in a binary format, not just individual payloads. This
commit changes the contract for the serializer to allow returning a
binary as before, or the tuple `{:binary, binary}`

In the integration tests, an example binary encoder that uses
`term_to_binary/1` and `binary_to_term/1` is used. The integration tests
are run both against the existing text based serializer, and the
reference binary serializer. The `GoodExample` has been modified to take
a set of options instead of reading them from the config, although a
fallback is used to minimize the number of tests updated.
Pull Request #72: Add support for a binary serializer

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

437 of 440 relevant lines covered (99.32%)

52.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 b87df7204791f041446dcca766380c40ca92284c-PR-72.1 13 Jan 2025 10:37PM UTC 44
99.32
GitHub Action Run
Source Files on build b87df7204791f041446dcca766380c40ca92284c-PR-72
  • Tree
  • List 44
  • Changed 17
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #72
  • PR Base - main (#BCA50F8C...)
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

© 2025 Coveralls, Inc