$30 off During Our Annual Pro Sale. View Details »

Testing and Debugging Slack Apps

Testing and Debugging Slack Apps

Presented at the Slack Dev Meetup October 26, 2016

Mike Brevoort

October 26, 2016
Tweet

More Decks by Mike Brevoort

Other Decks in Technology

Transcript

  1. Testing and Debugging
    Slack Apps
    Slack Devs Meetup
    Mike Brevoort
    25 October 2016

    View Slide

  2. Mike Brevoort
    CTO, Robots & Pencils
    GM, Beep Boop
    @mbrevoort
    robotsandpencils.com
    beepboophq.com

    View Slide

  3. View Slide

  4. Our Journey

    View Slide

  5. View Slide

  6. View Slide

  7. View Slide

  8. To weather the
    storm…

    View Slide

  9. Build on a strong
    foundation

    View Slide

  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.

    View Slide

  11. View Slide

  12. View Slide

  13. Testing bots is a lot like
    web apps
    A complex moving target
    Make underlying
    components discreet
    and testable

    View Slide

  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

    View Slide

  15. Test suites
    consider the
    expected.
    What about the
    unexpected?

    View Slide

  16. View Slide

  17. Monitor changes in
    behavior

    View Slide

  18. Per team testing

    View Slide

  19. Activity and Insights

    View Slide

  20. The end of the road

    View Slide

  21. Follow up questions
    and comments:
    @mbrevoort [email protected]
    https://robotsandpencils.com
    @robotsNpencils
    Robots & Pencils
    https://beepboophq.com
    @BeepBoopHQ
    Beep Boop

    View Slide