1. 29 Mar, 2019 1 commit
  2. 25 Mar, 2019 2 commits
  3. 20 Mar, 2019 2 commits
  4. 13 Mar, 2019 1 commit
    • Phil Dawson's avatar
      Move external plugin tests to seperate tox environment. · 4dd71edb
      Phil Dawson authored
      Having the external plugins in the same tox env as the internal tests
      is inconvenient for developers. Move the external tests into their own
      environment.
      
      In order to run the external tests locally, append `-external` to an
      environment name. For example tox -e py35-external.
      4dd71edb
  5. 08 Mar, 2019 1 commit
  6. 06 Mar, 2019 1 commit
  7. 04 Mar, 2019 3 commits
  8. 25 Feb, 2019 1 commit
  9. 20 Feb, 2019 1 commit
  10. 08 Feb, 2019 1 commit
    • Phil Dawson's avatar
      Expose basic api for testing external plugins. · b4d4c4f5
      Phil Dawson authored
      We want external plugins to be able to make use of the core testing utils.
      This commit exposes the basic utilities which are currently in use in
      bst-external plugins. If necessary, more utilities could be exposed in the
      future.
      
      Moves the following files from tests/testutils/ to
      buildstream/plugintestingutils/:
      o runcli.py
      o integration.py
      
      As part of this, this commit makes the following changes to runcli.py
      and integration.py:
      o runcli.py: Fix linting errors
      o runcli.py: Add user facing documentation
      o Integration.py: Add user facing documentation
      b4d4c4f5
  11. 31 Jan, 2019 1 commit
  12. 25 Jan, 2019 1 commit
  13. 23 Jan, 2019 1 commit
  14. 09 Jan, 2019 1 commit
    • Tristan Van Berkom's avatar
      Support running test environments in parallel with `detox` · f29a0995
      Tristan Van Berkom authored
      This patch namespaces the test temp directory and the output
      coverage report file with the name of the environment under test,
      such that separately run tests do not access the same files.
      
      When running tests without tox, directly through setup.py,
      then the tmp directory will still be `./tmp`.
      
        * .gitignore: Added new .coverage-reports/ directory
      
        * .gitlab-ci.yml: Rely on tox to combine and report coverage, only
          tell tox about the COVERAGE_PREFIX so that results can be namespaced
          by CI job name.
      
          This change also publishes the sources and final combined `.coverage`
          file in an output gitlab artifact for inspection, and lists some missing
          dependencies to the `coverage` job.
      
        * tox.ini: Add comments and refactor main [testenv] section so that
          other environments dont inherit too much unrelated cruft.
      
          Generate the coverate reports in the respective {envtmpdir} so that
          all per-process coverage files are prefixed with a full path, ensuring
          that concurrent runs don't mix reports and addressing concerns
          raised in #844.
      
          Also implemented new `tox -e coverage` environment to combine
          any found coverage and print a report.
      
        * .coveragerc: Omit .tox/ directory from coverage stats
      
      Fixes issue #844
      f29a0995
  15. 04 Jan, 2019 1 commit
  16. 03 Jan, 2019 3 commits
  17. 02 Jan, 2019 1 commit