Skip to content

Writing unit tests for an app using this SDK #1188

@devangmehta123

Description

@devangmehta123

I have seen mentions of unit tests in some issues like this one: #1052

But the documentation does not mention how we can write unit tests in our code if we integrate the slack sdk in our code base.

We use pytest along with moto3 to mock AWS APIs, for example. Is there something similar we can do for this slack sdk or do we have to make our own fixtures to make the unit tests work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Version: 3xdiscussionM-T: An issue where more input is needed to reach a decisionenhancementM-T: A feature request for new functionalitytestsM-T: Testing work only

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions