RedisMock icon indicating copy to clipboard operation
RedisMock copied to clipboard

missing feature in the mock

Open omansour opened this issue 11 years ago • 6 comments

  • [x] DISCARD
  • [x] EXEC
  • [x] MULTI
  • [ ] UNWATCH
  • [ ] WATCH

missing feature allowing us a complete unit test of this lib https://github.com/M6Web/Redis :)

omansour avatar Dec 26 '13 14:12 omansour

EXEC and MULTI are done :smiley:

fdubost avatar Feb 17 '14 08:02 fdubost

nope. I need the transaction executed while calling exec

omansour avatar Feb 17 '14 13:02 omansour

argh :sweat:

fdubost avatar Feb 17 '14 13:02 fdubost

Instructions are executed when they're called. You can use fluent interface : it's the only difference.

KuiKui avatar Feb 17 '14 13:02 KuiKui

@omansour How it can impact your tests ?

KuiKui avatar Feb 17 '14 13:02 KuiKui

you right, maybe it works for exec. I have to test it

but not for watch, discard I think

omansour avatar Feb 17 '14 14:02 omansour