Skip to content
Automated Testing for Set-Top Boxes and Smart TVs
Python Shell HTML Makefile Other
Branch: master
Clone or download

Latest commit

drothlis Merge pull request #670 from stb-tester/docstrings-str-python3
docstrings: Replace "unicode" => "str"
Latest commit 17f39bf May 12, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci CI: Test pylint plugin with latest pylint & astroid versions Apr 2, 2020
_stbt docstrings: Replace "unicode" => "str" May 12, 2020
bin Remove experimental `stbt camera` tool May 13, 2019
docs Fix linting for CI and add change to release notes Jan 30, 2020
extra packaging: Remove dependency on ssh Nov 27, 2019
stbt docstrings: Remove "Added/changed in" for changes pre-dating v29 Apr 22, 2020
tests Merge pull request #637 from stb-tester/ocr-corrections Apr 6, 2020
vendor Use python-lmdb package from Ubuntu instead of building our own May 8, 2019
.gitignore .gitignore: Ignore .venv directory Dec 2, 2019
.gitmodules Use python-lmdb package from Ubuntu instead of building our own May 8, 2019
.isort.cfg Add .isort.cfg to fix false positives on Travis May 13, 2014
CONTRIBUTING.md Remove experimental `stbt camera` tool May 13, 2019
LICENSE Man page (generated from README.rst) and LGPL v2.1 LICENSE file. Jun 19, 2012
MAINTAINERS.md Remove experimental `stbt camera` tool May 13, 2019
MANIFEST.in setup.py: Include "stbt.conf" (the configuration defaults) as package… Nov 27, 2019
Makefile CI: Test pylint plugin with latest pylint & astroid versions Apr 2, 2020
README.md README: Update CI "passing" icon to use CircleCI Nov 27, 2019
pytest.ini pytest.ini: Ignore u'...' prefix in doctest output on Python 2 May 17, 2019
setup.py setup.py: dependency stbt-extra-stubs has been renamed to stbt-premiu… Jan 22, 2020
stbt-completion Remove "restart_source" config setting May 22, 2019
stbt-control-relay.in Allow installing stbt-control-relay seperately from stbt Nov 8, 2016
stbt-screenshot Python3: Fix `print` (it's a function) in doctests & shell script her… May 17, 2019
stbt-tv Remove support for `transformation_pipeline` config setting May 13, 2019
stbt_config.py Python3: `Exception` doesn't have `message` attribute May 17, 2019
stbt_control.py stbt_control.py: Module StringIO doesn't exist in Python 3 May 21, 2019
stbt_control_relay.py Python3: stbt-control-relay: Pass a unicode keyname to `press()` May 23, 2019
stbt_lint.py Move _stbt.pylint_plugin => stbt.pylint_plugin Nov 27, 2019
stbt_match.py Remove python-future's `standard_library.install_aliases()` May 17, 2019
stbt_power.py Remove python-future's `standard_library.install_aliases()` May 17, 2019
stbt_record.py Remove python-future's `standard_library.install_aliases()` May 17, 2019
stbt_run.py Remove python-future's `standard_library.install_aliases()` May 17, 2019
stbt_virtual_stb.py Remove python-future's `standard_library.install_aliases()` May 17, 2019

README.md

stb-tester

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

  • Copyright © 2013-2019 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.

You can’t perform that action at this time.