GetStream / stream-cli

Configure & manage Stream applications from the command line. 🚀
https://yarnpkg.com/en/package/getstream-cli
BSD 3-Clause "New" or "Revised" License
85 stars 19 forks source link

Feature request: ability to generate bulk test data #125

Closed vishalnarkhede closed 2 years ago

vishalnarkhede commented 2 years ago

Objective

During the testing on frontend, we generally need some quick way to populate the app or channel with some bulk data.

For example:

  1. I am testing or building the UI for unread channels and I need to quickly add some messages to the channel which are sent by other users (so that they are unread for me). Also I want to add specific number of messages so that I can check the UI (scroll behavior) for low or high unread count.
  2. Since we have 100 member limit on some backend features, I want to test UI behaviour for such channels. In this case I want to quickly add 100 members to current channel.
  3. I just created a new app for using our tutorial. And I want to see chat features quickly in action for which I want to create 10 channels with 50 messages each. And some reactions, attachments, thread replies, giphy spread across those messages.

These are just few examples. We have such functionality in stream-chat-test-data-cli. And we also allow user to fine tune the frequency of reactions, attachments etc in test data using config.

If we can add such functionality to stream-cli, then we can simply deprecate the other repo and have everything at one place here.