Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Veeta
Level 9

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
0 Kudos
2 REPLIES 2
Tyler_Smith
Level 8

Re: Roku testing from Jasmine

Neat, I'll have to give it a try
Tyler Smith
0 Kudos

Re: Roku testing from Jasmine

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
0 Kudos