Hi! I'd like to contribute additional unit tests to improve code coverage for the pkl package.
Current coverage
| Package |
Coverage |
pkl |
63.9% |
pkl/internal |
63.4% |
pkl/internal/msgapi |
0.0% |
Areas with low or no coverage
external_reader.go — 0% coverage across all functions (Run, Close, listen, handleReadResource, handleReadModule, etc.)
errors.go — Is, Error, and Unwrap methods at 0%
logger.go — FormatLogMessage, Trace, Warn at 0%
values.go — GoDuration, String methods at 0–30%
decode_primitives.go — decodeInt64, decodeUint64 at 0%
evaluator_manager.go — GetVersion, interrupt, killProcess at 0–33%
internal/msgapi — entire package at 0%
I'd like to open a PR adding unit tests targeting the gaps listed above. Happy to align on priorities or testing conventions before submitting. 🙌
Hi! I'd like to contribute additional unit tests to improve code coverage for the
pklpackage.Current coverage
pklpkl/internalpkl/internal/msgapiAreas with low or no coverage
external_reader.go— 0% coverage across all functions (Run,Close,listen,handleReadResource,handleReadModule, etc.)errors.go—Is,Error, andUnwrapmethods at 0%logger.go—FormatLogMessage,Trace,Warnat 0%values.go—GoDuration,Stringmethods at 0–30%decode_primitives.go—decodeInt64,decodeUint64at 0%evaluator_manager.go—GetVersion,interrupt,killProcessat 0–33%internal/msgapi— entire package at 0%I'd like to open a PR adding unit tests targeting the gaps listed above. Happy to align on priorities or testing conventions before submitting. 🙌