DiceDB / dice

DiceDB is a redis-compliant, in-memory, real-time, and reactive database optimized for modern hardware and for building and scaling truly real-time applications.
https://dicedb.io/
Other
6.1k stars 959 forks source link

Integration tests for Playground CLI requests #731

Open lucifercr07 opened 2 weeks ago

lucifercr07 commented 2 weeks ago

Description

DiceDB Playground is an interactive platform that allows users to experiment with DiceDB commands in a live environment, similar to the Go Playground. Users will be able to submit and execute commands directly through a web interface. The initial implementation will focus on enabling users to search for and trigger commands.
For more details about DiceDB playground you can check here.

As part of this task we need to enhance unit tests and integration tests for /cli API. This task would be extension of https://github.com/DiceDB/dice/issues/727

Details

Validation:

Testing:

lucifercr07 commented 2 weeks ago

Dependent on https://github.com/DiceDB/dice/issues/727

karandixit10 commented 2 weeks ago

Can I Take this up once it is implemented?

lucifercr07 commented 2 weeks ago

@karandixit10 assigned, thanks for contributing. Please let me know if any other details required. Also you can collaborate with assignee of other issue.

lucifercr07 commented 1 week ago

@karandixit10 please let us know if you require any help with this.

karandixit10 commented 1 week ago

@karandixit10 please let us know if you require any help with this.

I'll try to add this by EOD

karandixit10 commented 1 week ago

Hi @lucifercr07 Do I have to create a mock DiceDB client to isolate the HTTP handler for Unit tests?

karandixit10 commented 1 week ago

And will the folder structure for integration_tests be same as DiceDB tests?

lucifercr07 commented 1 week ago

@karandixit10 we can keep the same.

karandixit10 commented 1 week ago

Hi @lucifercr07 for integration test I have to run DiceDB server in the terminal so will it fail in the CI when pushed?