Skip to content

maddevsio/mad-fake-slack

Repository files navigation



mad-fake-slack

Your fake service #1!


Developed by Mad Devs Build Status CircleCI Build Status

About project (RU)

This project is designed to help test your Slack bots in isolation from the actual Slack service. This approach allows you to run tests on CI and simulate various situations with data in the chat. The project consists of two parts: user interface and API. All communication of your bot is carried out through API methods identical to those described in the Slack API documentation. Server side is written in node.js.

Highlights

Demo of interaction with bot from examples folder (Демо взаимодействия с ботом, через UI mad-fake-slack)

The user interface gives you the ability to:

  • See current chat situation
  • Sending text messages using simple formatting *bold*, ~strike~, `code`, ```preformatted```, >quote
  • Send messages to different channels, as well as view messages on these channels
  • Writing tests using the Gherkin syntax and any library you prefer (cucumber, cucumber.js, etc.). Your tests can interact with the user interface and perform user manipulations to test the functionality of the bot.
  • Observe receipt of user_typing messages, under the message input field.

The API gives you the ability to:

  • Using a token for authentication in mad-fake-slack, as in real Slack.
  • Sending text messages using simple formatting *bold*, ~strike~, `code`, ```preformatted```, >quote
  • Request a list of channels with their identifiers
  • Sending messages to existing channels via HTTP and RTM
  • Receive messages from existing channels (via RTM).
  • Receive / send typing or user_typing messages (via RTM)
  • User information request

Badges

Dependabot Maintainability dependencies Status devDependencies Status Known Vulnerabilities

For Developers EN

Для разработчиков RU

  • [EN] coming soon...
  • [RU] скоро будет...
  • [EN] coming soon...
  • [RU] скоро будет...