Repository navigation
test(poster): achieve >85% package test coverage and resolve codebase TODOs - #174
Merged
Merged
Conversation
Contributor
|
👋 Thanks for opening this PR, @adcondev! Here's what will happen next:
Please make sure:
|
Contributor
|
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Contributor
⚡ Benchmark Results📈 Performance Comparison📊 Click to expand detailed resultsCurrent Branch ResultsBase Branch Results💡 Note: Use 🎯 Summary
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary (Area 6 of 6, Final PR)
internal/calculate: 100.0%internal/load: 93.9% (addedinternal/load/loaders_test.go)internal/testutils: 100.0% (addedinternal/testutils/assertions_test.go)pkg/commands/barcode: 100.0%pkg/commands/bitimage: 87.1% (expandedbitimage_test.go)pkg/commands/character: 94.5%pkg/commands/linespacing: 100.0%pkg/commands/mechanismcontrol: 95.7%pkg/commands/print: 97.1%pkg/commands/printposition: 100.0%pkg/commands/qrcode: 100.0%pkg/commands/shared: 100.0% (addedpkg/commands/shared/shared_test.go)pkg/composer: 100.0% (expandedescpos_composer_test.go)pkg/connection: 87.6%pkg/constants: 100.0% (addedconstants_test.go)pkg/document/builder: 90.5%pkg/document/executor: 85.2% (expanded handler tests)pkg/document/schema: 96.7%pkg/emulator: 86.9% (expandedprinter_adapter_test.go)pkg/emulator/fonts: 85.0% (addedembed_test.go)pkg/graphics: 86.0% (addedqr_test.go,barcode_test.go,loaders_test.go)pkg/profile: 98.8%pkg/service: 90.2% (addedprinter_service_test.go)pkg/tables: 92.6%cmd/poster: 50.0% (expandedparsing_test.go)TODOandFIXMEcomments acrosscmd/,internal/, andpkg/(0 remaining).PrintLinewithPrintto useEncodeBytesSafefor consistent typography normalization, multi-codepage switching, and error handling.README.mdandAGENTS.mdwith all architectural additions (transports, dithering, PDF417, magic encode, reverse ESC/POS parser, profile catalog, and coverage floor).