I had been meaning to build this tool for a while in order to automate testing all the error paths during Roku channel development. I decided to open source the effort.
Jasmine is a popular javascript test framework. This project expands on existing node.js modules to offer:
-
web server which can be used for mocking server requests and streaming content
-
capture of development console to watch for channel events
-
ECP control of the channel, including channel installation and launch
https://github.com/veeta-tv/jasmine-roku
The above project is example usage ready to drop into an existing channel project. If you’re not interested in jasmine or the web server, the nuts-and-bolts of Roku HTTP communication are in:
