Timetests test_runner improvements (#2552)
authorVitaliy Urusovskij <vitaliy.urusovskij@intel.com>
Wed, 7 Oct 2020 14:15:02 +0000 (17:15 +0300)
committerGitHub <noreply@github.com>
Wed, 7 Oct 2020 14:15:02 +0000 (17:15 +0300)
commitc3ff2948a4a7d68aaa71e1452ab07f435068f0a0
tree4bd0bc35b66a974f130156a2096bb0c5d8fb9f23
parent1cc25fc885974b4dc77f7be5f26e2e689ad0f3c0
Timetests test_runner improvements (#2552)

* Remove `generate_tmp_path` as unnecessary after refactoring

* Add `check_positive_int` check for `-niter` CLI key

* Replace `TestConfDumper` with number of fixtures:
1. Save all test info in global `request` and `pytestconfig` fixtures
2. Add `test_info` fixture for retrieving test info from test
3. Add `prepare_tconf_with_refs` fixture for test conf dump
tests/time_tests/scripts/run_timetest.py
tests/time_tests/test_runner/conftest.py
tests/time_tests/test_runner/test_timetest.py