Skip to content

Commit 7b2de67

Browse files
authored
Merge pull request #48 from github/docs_to_include_dev_testing
add instructions to run against local hubot
2 parents d25909b + ceb3389 commit 7b2de67

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/protocol-description.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,3 +242,6 @@ they should not be pushed to the server.
242242

243243
The version of the ChatopsRPC protocol in use by a server is given as the
244244
`version` field. If no version is returned, `3` is assumed.
245+
246+
### Development & Testing
247+
To test your CRPC service end-to-end locally with Hubot, clone the [hubot-classic](https://github.com/github/hubot-classic) repo and follow the instructions [here](https://github.com/github/hubot-classic#rpc-chatops) to add your RPC endpoint. For example `/rpc add http://localhost:8080/_chatops --prefix mychatops`. Then you can run your chatops command with `/mychatops`.

0 commit comments

Comments
 (0)