Forum Discussion

Veeta's avatar
Veeta
Visitor
10 years ago

Roku testing from Jasmine

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:

https://github.com/veeta-tv/node-roku-test

2 Replies

  • Hey Veeta,

    Just wanted to let you know that I had a look at the tool and it looks very promising. We haven't had the time yet to properly add it to one of our apps, but our initial exploration was very positive. Thanks for the great work putting this together!

    Cheers,

    Pieter