Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testutil: implement helpers for encode/decode routines #802

Merged
merged 2 commits into from
Mar 27, 2020

Conversation

fyrchik
Copy link
Contributor

@fyrchik fyrchik commented Mar 26, 2020

Frequently one needs to check if struct serializes/deserializes
properly. This commit implements helpers for such cases including:

  1. JSON
  2. io.Serializable interface

@codecov
Copy link

codecov bot commented Mar 26, 2020

Codecov Report

Merging #802 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #802   +/-   ##
=======================================
  Coverage   66.76%   66.76%           
=======================================
  Files         141      141           
  Lines       12964    12964           
=======================================
  Hits         8655     8655           
  Misses       3899     3899           
  Partials      410      410           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d462276...0036b3e. Read the comment docs.

Frequently one needs to check if struct serializes/deserializes
properly. This commit implements helpers for such cases including:
1. JSON
2. io.Serializable interface
Also implement Bytes/Fill routines for generating byte slices.
@roman-khimov roman-khimov merged commit 5db7e89 into master Mar 27, 2020
@roman-khimov roman-khimov deleted the feature/testutil branch March 27, 2020 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants