borinquenkid opened a new pull request, #16285: URL: https://github.com/apache/grails-core/pull/16285
## Summary Staged pass adding unit test coverage across previously-untested surface in `grails-data-mongodb`, identified via a jacoco coverage report plus a systematic gap analysis of every submodule: - `ext`: `MongoExtensions` (the module's only class - Map/Bson conversion and the full Groovy extension-method surface over the MongoDB driver) - `bson`: all `codecs/*Codec`, `codecs/decoders/*`, `codecs/encoders/*`, `CodecCustomTypeMarshaller`, `CodecExtensions`, and the hand-written `json/` parser (`JsonReader`/`JsonWriter`) - `embedded`: `InMemoryMongoBackend` and `FlapdoodleMongoBackend` - `spring-data`: `GormSharedSessionMongoTransactionManager` - `core`: targeted gaps (`Distance`, `MongoIdCoercion`, `AbstractMongoConnectionSourceSettings`, `MongoStaticApi`) not already covered by the module's large functional/TCK suite Two real `JsonScanner` parsing bugs turned up while writing the json-parser tests (bare exponent-notation numbers at end-of-input, `-Infinity` failing to parse in any context) - those are fixed separately in #16284 against `7.0.x` since the bug is present there too; this PR does not include that fix's production change, only its already-updated test. ## Test plan - [x] Full test suite green for every touched module (`ext`, `bson`, `embedded`, `spring-data`, `core`), verified individually and together - [x] `codeStyle` clean for every touched module 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01QAjfckcY4EJsxranv1RyGV -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
