Enhance the use of tox
Summary
=======
Enhance and take advantage of tox to run our text and extra commands instead of using run_test.sh
Motivation
========
Other openstack projects use tox only for running test, setting up their environment, extracting messages and so on and we should do the same. Also using tox allows us more flexibility, less code to maintain and extra features that we dont need to implement ourselves.
Description
=========
Rework tox.ini and setup.cfg to use tox commands and environments separated from run_tests.sh
UX
===
N/A
Testing
======
We need to be careful as to make sure that all the tests are run as before as we change the tox configuration, we could be skipping tests.
Outside Dependencies
==================
No outside dependencies
Requirements Update Required
=======
No requirements
Doc Impact
=========
Should mention the deprecation of run_tests.sh on the developer documents and show some examples on how to do the same but with tox instead.
Blueprint information
- Status:
- Complete
- Approver:
- Rob Cresswell
- Priority:
- High
- Drafter:
- Itxaka Serrano
- Direction:
- Approved
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- Accepted for 11.0.0-ocata
- Implementation:
- Implemented
- Milestone target:
- ocata-2
- Started by
- Rob Cresswell
- Completed by
- Rob Cresswell
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Enhances tox to not rely on run_tests
Addressed by: https:/
[wip] experimental i9n failure on new tox.ini
Addressed by: https:/
Do not import local/enabled when to run test
Addressed by: https:/
Enable tox to run the subset test cases.
Gerrit topic: https:/
Addressed by: https:/
Add debug envrioment into tox
Addressed by: https:/
Add deprecation message to run_tests.sh
Addressed by: https:/
Refactor tox to reduce duplication
Addressed by: https:/
Update the docs to remove run_tests references
Gerrit topic: https:/
Gerrit topic: https:/