StackExchange / NRediSearch

Other
31 stars 9 forks source link

Check RediSearch version #17

Open AvitalFineRedis opened 3 years ago

AvitalFineRedis commented 3 years ago

I want my test to run only when the version of the module is greater than 2.2.0 (support Json and alias). How can I get the version?

For example, this test can pass only when the right version is running: https://github.com/StackExchange/StackExchange.Redis/blob/89812faf3fe19cda7ed085238b28adae58931dd1/tests/NRediSearch.Test/ClientTests/ClientTest.cs#L898