slackapi / slackapi/bolt-js

How To Add Testing

Open
#638 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion good first issue tests
Dominant language
TypeScript
Stars
2.9k
Forks
445
Avg merge
1d 3h
Merged PRs (30d)
28

Description

Description

Hey everyone, is it possible to implement testing using bolt? The only way I can think of is mimicing a payload that Slack will send.

if this is possible, can someone point me in the right direction? The goal is to add a testing phase in our app pipeline, to ensure all commands etc. are working correctly.

What type of issue is this? (place an x in one of the [ ])
  • [x ] testing related
  • [x ] discussion
Requirements (place an x in each of the [ ])
  • [x ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • [ x] I've read and agree to the Code of Conduct.
  • [ x] I've searched for any related issues and avoided creating a duplicate issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name any files, tests, or entry points to inspect. Start by determining how Bolt applications receive Slack payloads and how this repository structures command handling, then define a testing approach that exercises commands in an application pipeline and shows that they work correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.