Test Slack in GO

There are a lot of tools out there that do the full-fledged mock (for testing github.com/slack-go/slack), but I still decide to provide an alternative because

  1. Instead of mocking slack client, I mock HTTP

So the steps are:

  1. mock the server

1. Mock The Server

--

--

love writing bit sized programming memo, acoustic guitarist, proud daddy of 5 and great listener (to my kids)

Get the Medium app

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
Jim Kang

love writing bit sized programming memo, acoustic guitarist, proud daddy of 5 and great listener (to my kids)