Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Veeta
Visitor

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
Streaming Star

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.