java-slack-sdk icon indicating copy to clipboard operation
java-slack-sdk copied to clipboard

Improve unit tests not to be affected by env variables

Open seratch opened this issue 5 years ago • 0 comments

Some of the unit tests for Bolt modules may fail when the host has some env variables such as SLACK_CLIENT_ID, SLACK_CLIENT_SECRET, and so on. We can improve it to be more stable regardless of the external factors.

Category (place an x in each of the [ ])

  • [x] bolt (Bolt for Java)
  • [x] bolt-{sub modules} (Bolt for Java - optional modules)
  • [ ] slack-api-client (Slack API Clients)
  • [ ] slack-api-model (Slack API Data Models)
  • [ ] slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
  • [ ] slack-app-backend (The primitive layer of Bolt for Java)

Requirements

Please make sure if this topic is specific to this SDK. For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. :bow:

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to the those rules.

seratch avatar Oct 15 '20 11:10 seratch