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
Logic that supports automated execution of unit tests for ci purpose
were added via setUp/tearDownPackage functions in
testing/tests/__init__.py file. Now when tests started via nose in
package setUp function nailgunmimic server is setting up in separate
process and terminating in tearDown. This functionality provides unified
way to execute unit tests.
Change-Id: I4a033757c8d902c90b0a6c7eb54c1511ab721f99