Commit 14f803f0 by Clinton Blackburn

Updated notes for running individual tests

edx-platform tests can now be run with py.test. Also, all references to test_docker have been removed.
parent 67e4a959
...@@ -531,16 +531,11 @@ After entering a shell for the appropriate service via ``make lms-shell`` or ...@@ -531,16 +531,11 @@ After entering a shell for the appropriate service via ``make lms-shell`` or
paver test_lib paver test_lib
paver test_python paver test_python
If you want to instead run tests via ``manage.py``, you need to pass the Tests can also be run individually. Example:
``test_docker`` settings flag instead of the ``test`` settings used in
Vagrant. Example:
.. code:: sh .. code:: sh
DISABLE_MIGRATIONS=1 ./manage.py lms test --settings=test_docker openedx.core.djangoapps.user_api pytest openedx/core/djangoapps/user_api
You can also add the ``test_docker`` settings flag to the other examples detailed
in the testing documentation.
Connecting to Browser Connecting to Browser
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment