Example jasmine tests using node-roku-test for verifying Roku channel behavior
-
Clone this repo
$ git clone https://github.com/cdthompson/jasmine-roku jasmine-roku $ cd jasmine-roku
-
Install dependencies
$ npm install
-
Set Roku target
$ export ROKU_DEV_TARGET=192.168.3.100 $ export DEVPASSWORD=12345
-
Run the pre-canned tests (should work on all currently supported Roku devices)
$ jasmine
- Copy package.json and spec/* to the existing channel directory
- Copy/Edit spec/example-spec.js to: a. Set channelZipFile as the right location for your channel zip file b. Set web server configuration to behave as you need c. Define jasmine tests for your channel
All code distributed under MIT license.
Includes Wild water fowl video from 93 films used under Creative Commons Attribution 3.0 Unported License.