dragonflydb/dragonfly

end-to-end tests for ioredis and dragonfly

Offen

#383 geöffnet am 12.10.2022

 (6 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C++ (1.177 Forks)batch import
enhancementgood first issuehacktoberfesthelp wanted

Repository-Metriken

Stars
 (30.465 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 2T 11h) (201 gemergte PRs in 30 T)

Beschreibung

We already have pytests under tests/dragonfly.

I would like to add support for node-js tests. Specifically, start with ioredis tests.

Ideally, I would like to have the following deliverables:

  1. A script that automates local pipeline run - i.e. starts dragonfly binary using DRAGONFLY_PATH environment path, checks out https://github.com/luin/ioredis predefined tag (v5.2.3 and runs tests according to https://github.com/luin/ioredis/blob/main/.github/workflows/test.yml#L29
  2. a README.md that explains how to run the script and how to install the prerequisites. I do not know nodejs, so README should level with me :)
  3. Bonus: our own nodejs test that runs against a running dragonfly process (can start/stop using DRAGONFLY_PATH) and uncovers a specific scenario. For example, PUB/SUB use-case reported in #382 .

Contributor Guide