Adds information about the -r flag for tox to refresh the venv when
running unitests as when this happens the failures can look odd or valid
failures can be missing when running on a local system but occur when running
in the gate.
Change-Id: Ie6f7f73dfdbd4e55e8ac0b8a66cf9661f5630a09
The unit testing devref had a bit of inconsistent formatting, and a reference
to HACKING.rst which could have been linkifed. This patch fixes both of those,
and additionally the examples have been updated to reflect the recent split
into functional and unit tests.
Change-Id: I15129808d0d1271c1223e7ab8d8532f8cb2f7293
Now that we have stopped running python26 jobs in the gate, remove
python26 from the list of jobs in tox
project-config patch: Ib495467e00e4b6abf2b3c2b9445b51652ba25167
Change-Id: I18262e91c9f5fc2381c6f5b37eb45b5f27aa81db
Don't keep a copy of the run_tests.sh flag list here since it
inevitably will get out of sync with the real list.
No need to go into detail on how unit testing is set up, since we already have a wiki
on how to run tests that applies for all OpenStack projects. Keep
section with tox examples since that is the most commonly used command.
Change-Id: Ia8eb059be164d9df3edfd69aedcebfd028da45ff
Related-Bug: 1219040
This bug and fix is not about deleting run_tests.sh.
The change to delete run_tests.sh has been abandoned.
Thus the documentation of run_tests.sh remains.
Change-Id: Ia0a883260affc56c148dbebc5e3a49acb36b067e
Closes-Bug: #1282393
unit_tests.rst is outdated and does not reflect the recent changes
in the run_tests.sh script. Fix required an update of the usage
output of run_tests.sh as well as changes to some references.
Nova now uses testrepository and flake8.
There were also changes to the examples shown in the section
"Running a subset of tests". All the updated examples were tested.
Removes white spaces at the of end 3 lines.
Change-Id: I3fa040d5682ad94d861cef2a64b19b4da947318b
Closes-Bug: #1219040
run_tests.sh had an option to delete tests.sqlite, but that file is not
used anymore so the run_test options don't do anything.
Change-Id: I1abb257579da34c9dd7698543d8297268276bbc5
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files, and tools in the
general world are growing intelligence about them.
Change-Id: I68ece8406fb1d4e082a42db8e76e17b1aaa7e775
Fixes: bug #1179008
Documented how to run unit tests
Added docs about what's on Launchpad
Added docs on Gerrit with pointers to wiki.
Added docs on Jenkins: how to access, what it does
Clarified that running unit tests doesn't mean you can fully run OpenStack.
Change-Id: I33fa9d2f271631a1a9aceaa5d4fd465198bf51d4