Add possibility invoke run_tests with coverage:
if we run ./run_tests.sh -c, testropt
consists --with-coverage --cover fuel_plugin
Closes-Bug: #1478981
Change-Id: Id09b0a7bcb6b2b1189c0a1d4d47f42b82429a957
Complete cleaning of db schema added before execution of integration
tests. The main reason of introducing such cleaning - issue with
applying alembic revisions with same uid but different content that are
stored in different git branches, which leads to erros while interaction
with db.
Change-Id: I94611015beb4dd83d036b813c9337958dc6af064
Closes-Bug: #1421164
Now version of release for which particular test is suitable can be
specified in test sets profile attribute and tests' docstrings. For now
we assume that test is available for releases that are == or >= in
comparison to release specified for test.
Change-Id: I568db380120e3a429bdd531f51a7301c49d41281
Implements: blueprint ostf-tests-versioning
run_test.sh by default runs all available tests and checks:
* flake8
* unit
* integration
* selected tests
Usage info is available by running command `run_tests.sh -h`.
It is possible to run just selected tests by running
`run_tests.sh -t selected_tests.py`.
Integration tests require correctly set up.
Removed fabfile and fabric requirement.
DocImpact
Closes-Bug: #1404892
Change-Id: I8dbe2561aba655e698932bb7bb7c2f6f9887f9d7
tox.ini is now similar to the one from Nailgun's code:
* renamed 'pep8' env
* added 'venv' env to run any command
* replaced pep8 script with flake8
* flake8 conf inside tox.ini
* updated requirements for new tox.ini
Change-Id: I74c9b7f7bd137b6284e4e3dd5c131f348b564d78
Partial-Bug: #1404892
Now run_tests.sh script will use tox to run PEP8 checks.
This will allow to use run_tests.sh in Jenkins build scripts and
that step is required to further improvements of OSTF tests.
Change-Id: I51012b2d633557141baebd5669db256dd5e99efd
Partial-Bug: #1404892