kiss_queue 0.1.1
kiss_queue: ^0.1.1 copied to clipboard
A simple, backend-agnostic queue interface for Dart
Changelog #
0.1.1 #
- Cleanup Cleanup tests folder structure, expose them to be used by concrete implementations.
0.1.0 #
Enhanced ✨ #
- Comprehensive Test Coverage: Expanded test suite from 69 to 87 tests with enhanced serialization coverage
- Complete
enqueuePayload()Testing: Added missing tests forenqueuePayload()method in queue test suite - Method Equivalence Validation: Tests now verify both
enqueue()andenqueuePayload()produce identical results - Serialization Test Suite: New dedicated test suite (
serialization_test.dart) with 18 comprehensive tests- Unit tests for all serializer types (JSON String, JSON Map, Binary)
- Queue integration tests with different serializers
- Serialization call tracking and verification
- Comprehensive error handling (SerializationError, DeserializationError)
- Performance validation (no overhead when T == S)
Added 📦 #
- Serialization Examples: New
example/serialization_example.dartdemonstrating:- JSON String and Binary serialization
- Both enqueue methods with serializers
- Direct storage (no serialization)
- Method equivalence testing
- Error handling scenarios
Improved 📚 #
- Documentation: Enhanced README and test documentation with:
- Comprehensive serialization guide
- Updated API examples showing both enqueue methods
- Test coverage breakdown (87 tests total)
- Serialization patterns and examples
- Test Organization: Better organized tests into logical groups for improved maintainability
Fixed 🐛 #
- Test Coverage Gaps: Eliminated missing coverage for
enqueuePayload()in main queue tests - Test Redundancy: Consolidated duplicate serialization tests while maintaining comprehensive coverage