Search code examples
javascripttestingsmart-tv

JavaScript autotesting in browsers without webdriver


I am developing a js library for smart tv embeded apps, and I would like to make some autotests for my code. The problem is, smarttv's do not provide webdriver interface, so it is impossible to use test runners like karma.

I need a solution that can be embedded to a custom HTML page, run tests by my scenario and log results to a div or console. Which test frameworks are capable of that?


Solution

  • So I ended up using https://github.com/substack/tape

    Using this lib I bundle tests into a single js via webpack and run them directly inside a specially created smart tv app.