You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @chayim. I would like to work on this issue. However, I have a question. How can I test this command? Since it returns all the commands I thought maybe I can get the number of commands and compare them. For instance, currently, I get 363 different commands. Assume I do this operation len("command list") == 363 and in the next version there is another command added. So, the command number is up to 364 and the test fails.
I could not think of a way to test this. Can you give me any advice?
@dogukanteber I think the right answer is to check that we receive a number of commands that's positive and high - as opposed to a specific number. The reason: redis will constantly change, but we'll keep trying to support as many versions as possible!
Ultimately we're trying to test each collection of possibilities. I think this means you need one function that that makes repeated calls and uses r (the stock connection) and another that uses the redismod client. Does that make sense?
No description provided.
The text was updated successfully, but these errors were encountered: