https://github.com/maddevsio/mad-fake-slack
Fake Slack implementation on node.js + express.js + express-ws
https://github.com/maddevsio/mad-fake-slack
fake-services integration-testing remote-containers slack-bot slack-bot-testing-tool testing-tool
Last synced: 3 months ago
JSON representation
Fake Slack implementation on node.js + express.js + express-ws
- Host: GitHub
- URL: https://github.com/maddevsio/mad-fake-slack
- Owner: maddevsio
- License: mit
- Created: 2019-06-06T07:00:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T01:02:49.000Z (over 2 years ago)
- Last Synced: 2025-06-07T08:07:25.190Z (4 months ago)
- Topics: fake-services, integration-testing, remote-containers, slack-bot, slack-bot-testing-tool, testing-tool
- Language: JavaScript
- Homepage: https://mad-fake-slack.glitch.me
- Size: 11.3 MB
- Stars: 42
- Watchers: 3
- Forks: 9
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Your fake service #1!
[](https://maddevs.io)
[](https://cirrus-ci.com/github/maddevsio/mad-fake-slack)
[](https://circleci.com/gh/maddevsio/mad-fake-slack)
[](https://travis-ci.org/maddevsio/mad-fake-slack)### About project ([`RU`](docs/ABOUT_RU.md))
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 mad-fake-slack + example bot](https://mad-fake-slack.glitch.me)
* [UI feaures](#the_user_interface_gives_you_the_ability_to)
* [API features](#the-api-gives-you-the-ability-to)
* [For developers](#for-developers-en)
* [Для разработчиков](#%D0%B4%D0%BB%D1%8F-%D1%80%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%87%D0%B8%D0%BA%D0%BE%D0%B2-ru)
* [DOCKER IMAGE | Докер образ](#docker-image--%D0%B4%D0%BE%D0%BA%D0%B5%D1%80-%D0%BE%D0%B1%D1%80%D0%B0%D0%B7)
* [ROADMAP | Путь развития](#roadmap--%D0%BF%D1%83%D1%82%D1%8C-%D1%80%D0%B0%D0%B7%D0%B2%D0%B8%D1%82%D0%B8%D1%8F)### 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
[](https://dependabot.com/)
[](https://codeclimate.com/github/maddevsio/mad-fake-slack/maintainability)
[](https://david-dm.org/maddevsio/mad-fake-slack)
[](https://david-dm.org/maddevsio/mad-fake-slack?type=dev)
[](https://snyk.io/test/github/maddevsio/mad-fake-slack)### For Developers `EN`
* Read [here](docs/FOR_DEVELOPERS_EN.md)### Для разработчиков `RU`
* Читайте [тут](docs/FOR_DEVELOPERS_RU.md)### [DOCKER IMAGE | Докер образ](docs/DOCKER.md)
* [EN] coming soon...
* [RU] скоро будет...### [ROADMAP | Путь развития](docs/ROADMAP.md)
* [EN] coming soon...
* [RU] скоро будет...### [LICENSE | Лицензия](LICENSE)