fktn-k / fkYAML

A C++ header-only YAML library
MIT License
69 stars 7 forks source link

#150 Added tests for basic_deserializer class #155

Closed fktn-k closed 12 months ago

fktn-k commented 12 months ago

Some additional test cases have been introduced to the basic_deserializer class test to cover missing lines/branches.
Also, it's turned out that executing some API WITHIN a if condition would result in missing branch coverage for such a condition.
So, I have made some workaround to suppress meaningless coverage loss. (This would be optimized during Release builds, I guess.)

Now, all the lines & branches of the fkYAML library implementation have been covered by the unit test app. 100%!