Commit Graph
2 Commits
Author SHA1 Message Date
chrislu 17f0ad7788 add decode encode test 2025-09-11 14:05:04 -07:00
chrislu 2bc07e3316 Phase A: Add comprehensive unit tests for schema decode/encode
- Add TestBasicSchemaDecodeEncode with working Avro schema tests
- Test core decode/encode functionality with real Schema Registry mock
- Test cache performance and consistency across multiple decode calls
- Add TestSchemaValidation for error handling and edge cases
- Verify Confluent envelope parsing and reconstruction
- Test non-schematized message detection and error handling
- All tests pass with current schema manager implementation

Note: JSON Schema detection as Avro is expected behavior - format detection
will be improved in future phases. Focus is on core Avro functionality.
2025-09-11 13:01:04 -07:00