Testsuite

From postmarketOS
Jump to: navigation, search

All testing related code is in the test folder in the pmbootstrap repository. We use continuous integration to execute the testsuite for every pull request (see .travis.yml).

Requirements

  • GNU grep (Alpine: apk add grep)
  • Shellcheck (not packaged for Alpine yet)
  • Python programs (these can be installed via pip if your distribution does not have them packaged):
    • pytest
    • pytest-cov
    • flake8