Simplify LettuceConnectionUnitTests
Currently the LettuceConnectionUnitTests are testing all variations of the conversion from options to Lettuce params.
However, most of these conversions are handles in the Lettuce StreamConverters class. Ideally these variants would be unit tested well in a StreamConvertersUnitTests. This is the pattern that Jedis uses.
This would allow the LettuceConnectionUnitTests to be simplified and just verify that the options were passed in during the API call rather than test all conversion variants.
- [ ] Introduce a Lettuce
StreamConvertersUnitTests(can use Jedis counterpart for inspiration) - [ ] Simplify the
LettuceConnectionUnitTestsin favor of the above - [ ] Be sure to include all APIs that handle their options -> params conversions via StreamConverters (e.g. xadd, xtrim, etc...)
Hi, @onobc! I'm interested in working on this issue. If it's not currently assigned, could I please take this on?
👋🏻 @Jimin730 , sure thing. Let me know if you need any clarifications.
Thanks, Chris
Thanks! I'll start working on this shortly.