Commit Graph

15 Commits

Author SHA1 Message Date
Federico Ressi
190451d1ed Use pytest-cov plugin for getting coverage
Change-Id: Ifb5db0e8b1e12cf7d14045c2ccc7fc5ebfeaa40b
2021-01-27 21:11:21 +00:00
Federico Ressi
d44b3051bf Add check requirements job
Change-Id: I06e035a5570ffd25563f0483e6859ea55825b6f1
2021-01-05 13:35:44 +01:00
Federico Ressi
4d88f7d81a Update requirements
Requires docker==4.4.1 since version 4.4.0 can't be installed
Rerun tests on integration failures
Remove redundant requirements

Co-Author: pini <pkomarov@redhat.com>
Change-Id: I0cd54b6a9361e8e3c3205da2ba939baba2c6b1ce
2021-01-04 15:20:06 +01:00
Federico Ressi
3ce3c741e5 Switch to pytest test runner
Change-Id: I8132e07ad624fe9faa01265d700b5eb37b94815f
2020-12-18 13:51:08 +00:00
Federico Ressi
31a9a6e8e6 Add a timeout for workflow stages
Change-Id: I9938a8bbd71ab131c8b6a2210e5d1a903ef21efd
2020-09-28 12:04:49 +02:00
Federico Ressi
aa32375454 Add lower-contraints job
Change-Id: I273e7ae3d82374f087c1b57a2a37886310a08e2f
2020-06-18 16:26:03 +02:00
Federico Ressi
92248c8506 Refactor test execution scripts
- Acreate a new tools/run_tests.py script to
  execute test cases
- Move report generation to such script and
  remove 'report' tox environment
- Running test cases generates report files
  (.log, .html, .xml) into 'report/{envname}'
  directory
- Test cases failures will returns exit code 1
  Other script test runner failures returns
  exit code 2

Big refactory to tox.ini file to try semplifying it:

- create the new 'py3' tox environment for running unit
  tests as default platform python 3 interpreter
- use same as py3 '{envdir}' for scenario, functional,
  neutron and faults tox environments

Change-Id: Id09425245cc86b84b41e6b3b1c1db759cc686f3a
2020-05-06 17:41:35 +02:00
Federico Ressi
40ba8d5bfc Update requrements files.
Change-Id: I30c8cc353cc8b3834436c21ef0890f7aba38b471
2019-04-08 11:58:37 +02:00
Slawek Kaplonski
31c6f20983 Add reno for release notes management
Change-Id: Iee09083a2c582e086aa64ba1516d36e37e4a8512
2019-04-03 12:58:54 +00:00
Federico Ressi
0ef14525b7 Create method to list test case IDs unsing stestr
Change-Id: I68e2e1b6aa88ea2b6d72e65201fa771af181d61b
2018-12-19 14:50:00 +01:00
Federico Ressi
1f383c2783 Update project requirements.
Change-Id: I1a8e718f1079bed2d283f1031a5056df06c07d08
2018-12-18 12:34:46 +01:00
Federico Ressi
895602c93e Split tox environments requirements files
- add py36 environment
- separate unit tests requirements from neturon test cases
- rename zuul project file
- remote tempest from unit tests requirements

Change-Id: I7b054f679c44cde70d00d1f030853b0c6f528d4d
2018-12-05 08:28:32 +01:00
Federico Ressi
b5a02e0a29 Get code coverage when running test cases.
Change-Id: Ieae7e463ca766541fa0d085d04a6963e251a554f
2018-11-26 15:57:14 +01:00
Federico Ressi
c8135cebbf Split framework dependencies from test dependencies.
Let separate test cases (tobiko.tests package) from framework
(the rest of tobiko).

- Move test case dependencies to test-requirements.txt file.
- Keep only requirements.txt as framework requirements file.
- Add python-networkclient dependency to tobiko framework
- update tox.ini to use it for checking code before committing it

Change-Id: I0bc433153e00a1c83dbf691bfe058a1ccb1a49dd
2018-11-22 14:31:38 +01:00
Federico Ressi
0377537dc0 Create tox.ini file.
Configure with minimal requirements for running -
  pep8 - flake8 verifications
  py27/py35 - unittests

Change-Id: If09bab1f0a8501afddd720cf9ea9335867072e1d
2018-08-23 08:01:55 +02:00