Presented at the Slack Dev Meetup October 26, 2016
Testing and DebuggingSlack AppsSlack Devs MeetupMike Brevoort25 October 2016
View Slide
Mike BrevoortCTO, Robots & PencilsGM, Beep Boop@mbrevoortrobotsandpencils.combeepboophq.com
Our Journey
To weather thestorm…
Build on a strongfoundation
Events APIThe Events API makes it easier to developand deploy Slack integrations at scale.The socket based RTM API has itsadvantages but imposes an impedancemismatch between the rest of the Slackplatform, which is entirely HTTP based.
Testing bots is a lot likeweb appsA complex moving targetMake underlyingcomponents discreetand testable
“Program testing can bea very effective way toshow the presence ofbugs, but is hopelesslyinadequate for showingtheir absence.– Edsger Dijkstra
Test suitesconsider theexpected.What about theunexpected?
Monitor changes inbehavior
Per team testing
Activity and Insights
The end of the road
Follow up questionsand comments:@mbrevoort [email protected]https://robotsandpencils.com@robotsNpencilsRobots & Pencilshttps://beepboophq.com@BeepBoopHQBeep Boop