Use coverage+stestr for the cover tox target.
With this change, testrepository is not required anymore.
Change-Id: Ia294ee8003ccc10104f68777bea6921ff97bacef
In Chaneg[1], os_testr switches the otestr command to use stestr
under the covers. So that we get warning:
ostestr.py:120:
UserWarning: No .stestr.conf file found in the CWD.
Please create one to to replace the .testr.conf. You can find a
script to do this in the stestr git repository.
So remove the .testr.conf and add .stestr.conf which was generated
using a utility script as documented here[2]:
[1] Id7cb2a39a8308f1413608dcf19273a1d7f33592e
[2] https://media.readthedocs.org/pdf/stestr/stable/stestr.pdf
Change-Id: Ibc39d9c3fe33be91be158e7f6cd574736ed89440
It guarantees that all tests inside the test class will be executed in
sigle thread. It makes us able to group some tests that uses same
external resource into one tests execution thread to avoid races.
Example: tests that are use external MySQL/PostgreSQL.
Change-Id: I67f10d20ea84caa9335f909fb5f30da4b4e7f1ca
A new paramter introduced to separate unit and inegration test launch.
Since nosetests is not used anymore, it was removed from requirements.
Readme for integration tests updated.
Change-Id: I6415e2885cae8571c0adb75216d9b11c7372462a
Fixes: bug #1259927