Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Testing and Debugging Slack Apps

Testing and Debugging Slack Apps

Presented at the Slack Dev Meetup October 26, 2016


Mike Brevoort

October 26, 2016

More Decks by Mike Brevoort

Other Decks in Technology


  1. Testing and Debugging Slack Apps Slack Devs Meetup Mike Brevoort

    25 October 2016
  2. Mike Brevoort CTO, Robots & Pencils GM, Beep Boop @mbrevoort

    robotsandpencils.com beepboophq.com
  3. None
  4. Our Journey

  5. None
  6. None
  7. None
  8. To weather the storm…

  9. Build on a strong foundation

  10. Events API The Events API makes it easier to develop

    and deploy Slack integrations at scale. The socket based RTM API has its advantages but imposes an impedance mismatch between the rest of the Slack platform, which is entirely HTTP based.
  11. None
  12. None
  13. Testing bots is a lot like web apps A complex

    moving target Make underlying components discreet and testable
  14. “Program testing can be a very effective way to show

    the presence of bugs, but is hopelessly inadequate for showing their absence. – Edsger Dijkstra
  15. Test suites consider the expected. What about the unexpected?

  16. None
  17. Monitor changes in behavior

  18. Per team testing

  19. Activity and Insights

  20. The end of the road

  21. Follow up questions and comments: @mbrevoort mike.brevoort@robotsandpencils.com https://robotsandpencils.com @robotsNpencils Robots

    & Pencils https://beepboophq.com @BeepBoopHQ Beep Boop