Skip to content

Commit 6bf1f25

Browse files
committed
Add redis modules testing to readme
1 parent c29d399 commit 6bf1f25

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,16 @@ against a redis running on port 9999.:
274274
REDIS_PORT=9999 go test <your options>
275275
```
276276

277+
### Running Tests with Redis Modules
278+
279+
If you need to run tests that require Redis modules, ensure that you're using a Redis server with the necessary modules installed. You can quickly set up such a server using Docker:
280+
281+
```shell
282+
docker run -p 6379:6379 -it redis:8.0-M03
283+
```
284+
285+
Then, sync your test environment with this server.
286+
277287
## See also
278288

279289
- [Golang ORM](https://bun.uptrace.dev) for PostgreSQL, MySQL, MSSQL, and SQLite

0 commit comments

Comments
 (0)