mhassan1 / redis-memory-server

Redis Server for testing. The server will allow you to connect your favorite client library to the Redis Server and run parallel integration tests isolated from each other.
MIT License
76 stars 11 forks source link

feat: start server via npx #1

Closed lichangwei closed 1 year ago

lichangwei commented 3 years ago

add a simple way to start redis memory server

mhassan1 commented 3 years ago

Thanks for the contribution!

This is an interesting idea. What is the use case for this?

shimondoodkin commented 3 years ago

I can imagine the use case for it could be for tests in a not installed environment liked docker.

maybe to use with not javascript tests.

for example to run it as a background process to have a server.

RUN npx cross-env REDISMS_PORT=6379 npx redis-memory-server & RUN run c++ tests..

mhassan1 commented 2 years ago

That makes sense. @lichangwei, there is some outstanding feedback.

mhassan1 commented 1 year ago

@lichangwei It looks like I never submitted the feedback I wrote over 2 years ago... Sorry about that! It's submitted now.

mhassan1 commented 1 year ago

thank you for the contribution, @lichangwei!