Image for post
Image for post

Slack App Testing

You down with testing in OPP?

Matthew Ledom
Aug 27, 2018 · 8 min read

OPP

Image for post
Image for post
Example of our settings Slack dialog

Testing Our Slack App

Image for post
Image for post
As you can see we like Slack!
Jest example unit testing our welcome messages handler

Enter Cypress.io

Easy Setup and Use

Image for post
Image for post
Element suggested selector tool

Network Requests

Testing settings command displays the Slack workspace name
Cypress example of integration testing for welcome handler

Screenshots and Video

Image for post
Image for post
Video capture showing an error because we change messaging

What’s Next

Image for post
Image for post
Dashboard displaying output of successful test suite

Cover Your Ads

Because marketing needs a little CYA.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store