Repository navigation
test: add MessagePack test suite coverage - #1221
DicksonWu654 wants to merge 1 commit into
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## c_master #1221 +/- ##
============================================
+ Coverage 57.47% 65.10% +7.62%
============================================
Files 10 10
Lines 1124 1149 +25
Branches 129 141 +12
============================================
+ Hits 646 748 +102
+ Misses 478 401 -77 🚀 New features to boost your workflow:
|
|
Thank you for the PR, and for running msgpack-c against the
I am closing this PR. If you would like to add coverage, a new PR that |
Hi! I ran msgpack-c against the kawanet/msgpack-test-suite vectors and it passed every case, so I figured they might be useful to keep in the C tests.
This adds
test/msgpack_test_suite.cppto the CMake test list. It covers all 318 operations in the suite (233 decodes and 85 encodes across the 15 groups), with the vectors fromdist/msgpack-test-suite.jsonate04f6edembedded in the test so there's no submodule or network access. The suite's MIT notice is intest/msgpack-test-suite-LICENSE. Nothing is skipped.ci/build_cmake.shpasses locally with GCC 64-bit and-Werror, including the Valgrind runs.Happy to restructure it, e.g. load the JSON file instead of embedding, if you'd prefer a different layout