Skip to content

Test plan

Dag Wieers edited this page Dec 29, 2019 · 10 revisions

Before release we want to be sure everything is working as expected.

Code testing

Test matrix

  • Kodi versions
    • Kodi 17
    • Kodi 18
  • Python versions
    • Python 2.7
    • Python 3.7
  • Languages
    • Dutch
    • English
  • Platforms
    • Android
    • LibreELEC
    • Windows
  • Remotes
    • Kore
    • Yatse
  • Playback
    • Kodi player
    • inputstream.adaptive
    • inputstream.adaptive + Widevine (DRM)

Manual testing

  • Test without credentials
  • Test after removing all tokens
  • Test A-Z listing and playback
  • Test Categories and playback
  • Test Live streams

Unit tests

Almost everything can be tested automatically. And Travis CI currently already tests a lot.

With credentials

Some tests requires credentials. Two solutions:

  • Copy over the add-on userdata directory content to test/userdata/
  • Add a file test/userdata/credentials.json with your username and password

Example layout credentials.json

{
    "username": "your-user-name",
    "password": "your-password"
}

Clone this wiki locally