dice icon indicating copy to clipboard operation
dice copied to clipboard

Unit tests for `playground-web` repository

Open lucifercr07 opened this issue 1 year ago • 8 comments

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

  1. Set up a testing framework in the playground-web repo(e.g., Jest).
  2. Create test files for key components and utilities in the playground-web project. Example:
    • Shell
    • Playground
    • Search (There are other files in repository, please make sure to cover as extensibly as possible.)
    • Header
    • Footer
  3. Tests should cover:
    • Rendering of core components.
    • Correct behavior of functions, props, and state.
    • Edge cases for components or helper functions.
  4. Ensure that the tests are integrated into the CI/CD pipeline (e.g., GitHub Actions) to run automatically on pull requests and commits.

lucifercr07 avatar Oct 01 '24 16:10 lucifercr07

@lucifercr07 I can pick this up.

vpsinghg avatar Oct 01 '24 16:10 vpsinghg

@vpsinghg assigned, thanks for contributing.

lucifercr07 avatar Oct 01 '24 16:10 lucifercr07

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/

Dineshkumar2001 avatar Oct 07 '24 09:10 Dineshkumar2001

@lucifercr07 If this issue is open and available to be taken please assign it to me

rajat397 avatar Oct 08 '24 21:10 rajat397

@lucifercr07 Can you please assign this to @rajat397 ? I am currently working on something else.

vpsinghg avatar Oct 09 '24 04:10 vpsinghg

@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 avatar Oct 11 '24 11:10 ViragJain3010

@ViragJain3010 assigned, thanks for contributing.

lucifercr07 avatar Oct 11 '24 12:10 lucifercr07

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.

arpitbbhayani avatar Oct 24 '24 13:10 arpitbbhayani

Closing, merged as part of https://github.com/DiceDB/alloy/pull/71

lucifercr07 avatar Nov 26 '24 07:11 lucifercr07