Unit tests for `playground-web` repository
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.
We need to implement unit tests for the playground-web repository, which contains the Next.js frontend for the Playground project. Unit tests should cover core components and utilities to ensure the application's stability and proper functionality.
Note: Implementation will be part of DiceDB playground frontend repo.
Tasks
- Set up a testing framework in the
playground-webrepo(e.g., Jest). - Create test files for key components and utilities in the
playground-webproject. Example:- Shell
- Playground
- Search (There are other files in repository, please make sure to cover as extensibly as possible.)
- Header
- Footer
- Tests should cover:
- Rendering of core components.
- Correct behavior of functions, props, and state.
- Edge cases for components or helper functions.
- Ensure that the tests are integrated into the CI/CD pipeline (e.g., GitHub Actions) to run automatically on pull requests and commits.
@lucifercr07 I can pick this up.
@vpsinghg assigned, thanks for contributing.
Hai @lucifercr07 , I am new to open source contribution, How can i get started, would like to start with DiceDB first, Can you teach me basic and intro of DiceDb, Can we connect via LinkedIn : https://www.linkedin.com/in/dhinu2001/
@lucifercr07 If this issue is open and available to be taken please assign it to me
@lucifercr07 Can you please assign this to @rajat397 ? I am currently working on something else.
@lucifercr07 I would like to work on this issue and as @vpsinghg is not working on it, I would like to take it up!
@ViragJain3010 assigned, thanks for contributing.
Hello @ViragJain3010,
There has been no activity on this issue for the past 5 days. It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.
Closing, merged as part of https://github.com/DiceDB/alloy/pull/71