#1630·dicedb

Integration Tests for H* Commands

Author: arpitbbhayaniCreated Mar 23, 2025Updated Jun 9, 2025

We already have some integration tests written for commands like HSET, HGET, HGETALL, and HGETALL.WATCH.

This issue is all about making the integration tests more stringent for the same commands. Command implementations can be found in files

  • /internal/cmd/cmd_hget.go
  • /internal/cmd/cmd_hset.go
  • /internal/cmd/cmd_hgetall.go
  • /internal/cmd/cmd_hgetall_watch.go

Tests can be found in the file

  • /tests/commands/ironhawk/hget_test.go
  • /tests/commands/ironhawk/hset_test.go
  • /tests/commands/ironhawk/hgetall_test.go
  • /tests/commands/ironhawk/hgetall_watch_test.go

We need help with updating of integration tests as per the business logic implemented in the commands.

Setup Instructions

  1. setup DiceDB server locally from the source - instructions
  2. setup DiceDB Go SDK locally from the source - instructions
  3. setup DiceDB CLI locally from the source - instructions
  4. refer to the Pointing to local checked-out dicedb-gosection inREADME`.

Start the DiceDB server

$ go run main.go --log-level debug

Follow the contribution guidelines

These are general guidelines to follow before you submit a patch. Please mark them as done once you complete them