Define Runner class
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 15 May 2017 16:55:26 +0000 (18:55 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 16 May 2017 16:05:23 +0000 (18:05 +0200)
commit4c1e2c2b35ef2474d26e0cd6ce3977d24dc93553
treec94d5dced1751eca4bc025badcaf6430d77c1c1e
parentd180eabc5a2c2453d04bb4a080874c329605c026
Define Runner class

It simply converts run_tests.py's functions to Runner's methods.
This proposal could be enhanced in a second step to fully leverage on
object programming.

It defines as instance variables the former static variables to allow
multiple runs (it's mandatory for unit testing).

All false positives in unit tests are fixed but run_tests.py is still
not fully covered.

Change-Id: I8f91c132aa8b2248041f31e46238dd5598344d34
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
functest/ci/run_tests.py
functest/tests/unit/ci/test_run_tests.py