Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ TimeSeries
triaging
www
yml
runsettings
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,19 @@ e.g:
dotnet test --environment="REDIS=127.17.0.1:6379"
```

Most of the integration tests rely on specific server capabilities,
so, to be able run matching test cases properly you will need to set `REDIS_VERSION` variable with your actual server version that tests running against.
```bash
dotnet test --environment="REDIS=<redisServer:port>" --environment="REDIS_VERSION=<redisServerVersion>"
```
e.g:
```bash
dotnet test --environment="REDIS=127.17.0.1:6379" --environment="REDIS_VERSION=7.4.0"
```

If you are relying on an IDE to run the tests, then you can set these parameters in [.runsettings](.vscode/.runsettings) file.
You also need to check if your IDE supports [settings.json](.vscode/settings.json) for this to work.

To run your tests against an oss cluster:
```bash
dotnet test --environment "REDIS_CLUSTER=<redisServer:port>" --environment "NUM_REDIS_CLUSTER_NODES=<number of nodes in the cluster>"
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,12 @@ ft.DropIndex("myIndex");

More examples can be found in the [examples folder](Examples).

## For Contributors
To contribute NRedisStack, please see :point_right: [Contribution notes](CONTRIBUTING.md)

------

### Author
# Author

NRedisStack is developed and maintained by [Redis Inc](https://redis.com). It can be found [here](
https://github.com/redis/NRedisStack), or downloaded from [NuGet](https://www.nuget.org/packages/NRedisStack).
Expand Down
Loading