Automated Testing for Set-Top Boxes and Smart TVs
Clone or download
drothlis Merge pull request #526 from stb-tester/FrameObject-docs
FrameObject docstring: Remove examples; link to further reading
Latest commit 6d8c853 Sep 14, 2018
Permalink
Failed to load latest commit information.
_stbt FrameObject docstring: Remove examples; link to further reading Sep 14, 2018
bin Build: Substitute in LIBEXECDIR at install time Mar 21, 2018
docs Prepare release notes & docstrings for v29 release Jun 19, 2018
extra Remove tracing infrastructure Jun 12, 2018
stbt-batch.d Remove tracing infrastructure Jun 12, 2018
stbt-camera.d stbt.frames: Change return type to Iterator[Frame] Jun 15, 2018
stbt Remove FrameObject subclass from `stbt/__init__.py` Jun 18, 2018
tests FrameObject docstring: Remove examples; link to further reading Sep 14, 2018
vendor Caching: Add py-lmdb submodule v0.86 May 10, 2016
.gitignore Build: reinstate /etc/stbt/stbt.conf Apr 25, 2018
.gitmodules Caching: Add py-lmdb submodule v0.86 May 10, 2016
.isort.cfg Add .isort.cfg to fix false positives on Travis May 13, 2014
.travis.yml Remove tracing infrastructure Jun 12, 2018
CONTRIBUTING.md docs: We no longer provide fedora packages Jul 12, 2016
LICENSE Man page (generated from README.rst) and LGPL v2.1 LICENSE file. Jun 19, 2012
MAINTAINERS.md docs: We no longer provide fedora packages Jul 12, 2016
Makefile Remove FrameObject subclass from `stbt/__init__.py` Jun 18, 2018
README.md README, man page: Update links to online manual Sep 2, 2016
irnetbox-proxy irnetbox-proxy: set SO_REUSEADDR on listening socket Dec 13, 2016
pytest.ini tests: Test that OCR user words/patterns actually have an effect Dec 13, 2017
stbt-batch stbt batch run refactor: Move directory creation into Python Nov 14, 2017
stbt-camera stbt-camera: Rename python files Mar 2, 2016
stbt-completion Refactor: Implement bash completion for stbt config in Python Apr 25, 2018
stbt-config Refactor: Implement bash completion for stbt config in Python Apr 25, 2018
stbt-control Refactor: Rename "remote" -> "control" Jun 1, 2018
stbt-control-relay.in Allow installing stbt-control-relay seperately from stbt Nov 8, 2016
stbt-lint stbt-lint: Check that return value of `press_and_wait` is used Jun 27, 2018
stbt-match Rename "stbt templatematch" command to "stbt match" May 10, 2016
stbt-power Power: Add support for Rittal 7955.310 PDUs Jul 9, 2018
stbt-record Refactor: Rename "remote" -> "control" Jun 1, 2018
stbt-run Remove tracing infrastructure Jun 12, 2018
stbt-screenshot Refactor stbt-run: Factor out parsing script argument Nov 13, 2017
stbt-tv Replace references to github.com/{drothlis => stb-tester}/stb-tester Feb 24, 2015
stbt_auto_selftest.py auto-selftest: Fix running against test-packs which are packages Jun 18, 2018
stbt_control_relay.py Refactor: Rename "remote" -> "control" Jun 1, 2018
stbt_virtual_stb.py virtual-stb: Document that it's for *X11* apps Jun 2, 2016

README.md

stb-tester

Automated User Interface Testing for Set-Top Boxes & Smart TVs

  • Copyright (C) 2013-2016 Stb-tester.com Ltd, 2012-2014 YouView TV Ltd. and other contributors.
  • License: LGPL v2.1 or (at your option) any later version (see LICENSE).

Stb-tester issues commands to the device-under-test in the same way a real user does (typically using an infrared remote control).

Stb-tester then checks the behaviour of the device-under-test by analysing the device's video output.

For an overview of stb-tester's capabilities, see the videos at https://stb-tester.com/videos/.

Testcases are written in the Python programming language. They look like this:

def test_that_i_can_tune_to_bbc_one_from_the_guide():
    stbt.press("KEY_EPG")
    stbt.wait_for_match("Guide.png")
    stbt.press("KEY_OK")
    stbt.wait_for_match("BBC One.png")
    stbt.wait_for_motion()

See the Python API documentation for more details.

For commercial support and turn-key test rigs, see https://stb-tester.com.

To build your own test rig hardware, and for community-supported documentation and mailing list, see the wiki, in particular Getting Started.