Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
Astfgl
Level 7

Unit testing on Roku?

Hi, we got bored from tedious unit testing on Roku, particularly on large projects. That is why we developed this tool MAMUT ( mamuttool.com ).

What do you think of it? Do you have experience with any other unit testing system for Roku?
0 Kudos
12 Replies
tim_beynart
Level 7

Re: Unit testing on Roku?

This looks cool. I'm not thrilled about running a node.js server, but I guess that's par for the course these days. We've been kicking around the idea of writing a test framework here, so I'd love to try this out and see if it meets our needs.
0 Kudos
Astfgl
Level 7

Re: Unit testing on Roku?

Hi Tim, thanks! Most important for us is to know what do you think of it. Now we are working on a new version which is going to include global server.
0 Kudos
brianstegman
Level 7

Re: Unit testing on Roku?

Roku has a testing frameworking here that I'm thinking about building into my tool http://www.stegmancompany.com/#RokuDashboard
0 Kudos
tim_beynart
Level 7

Re: Unit testing on Roku?

has anyone actually used the roku framework? Curious about it.
0 Kudos
Veeta
Level 7

Re: Unit testing on Roku?

"tim_beynart" wrote:
has anyone actually used the roku framework? Curious about it.

Yes.  It works fairly well.  Comparable in features to the older brstest but a little better set up to manage test suites for related tests.  Also supports SG component testing though I haven't used it for that.
0 Kudos
Astfgl
Level 7

Re: Unit testing on Roku?

Had any one tried some testing system which supports continuous integration? We are considering it in Mamut right now.
0 Kudos
Highlighted
tim_beynart
Level 7

Re: Unit testing on Roku?

How would you do automation with Roku? There's no virtualization for Roku OS, so you have to test on a physical device. We use precommit hooks to run tests on the developer's machine before they commit to git, but that is not ideal. 
0 Kudos
Astfgl
Level 7

Re: Unit testing on Roku?

"tim_beynart" wrote:
How would you do automation with Roku? There's no virtualization for Roku OS, so you have to test on a physical device. We use precommit hooks to run tests on the developer's machine before they commit to git, but that is not ideal. 

Roku devices are always necessary, but the server allows to distribute packages with tests, run it and collect the results from those devices. Tim, you are probably not using Unit tests in this way right?
0 Kudos
kishigo
Level 7

Re: Unit testing on Roku?

Has anyone tested Roku tasks with the unit test framework?  I haven't been able to figure out how to fit the scenario of starting a task where the result comes back later in an observed event callback into the unit test framework.

Thanks in advance.
0 Kudos