Commit c689cc40 by Daniel Friedman

Merge pull request #8766 from edx/dan-f/update-test-docs-common-requirejs

Update docs for testing common requirejs tests
parents 1c161ffc d87a0f14
...@@ -120,7 +120,7 @@ You can run all of the unit-level tests using the command ...@@ -120,7 +120,7 @@ You can run all of the unit-level tests using the command
This includes python, javascript, and documentation tests. It does not, This includes python, javascript, and documentation tests. It does not,
however, run any acceptance tests. however, run any acceptance tests.
Note - Note -
`paver` is a scripting tool. To get information about various options, you can run the following command - `paver` is a scripting tool. To get information about various options, you can run the following command -
:: ::
paver -h paver -h
...@@ -278,6 +278,7 @@ console:: ...@@ -278,6 +278,7 @@ console::
paver test_js_run -s cms-squire paver test_js_run -s cms-squire
paver test_js_run -s xmodule paver test_js_run -s xmodule
paver test_js_run -s common paver test_js_run -s common
paver test_js_run -s common-requirejs
To run JavaScript tests in your default browser:: To run JavaScript tests in your default browser::
...@@ -287,6 +288,7 @@ To run JavaScript tests in your default browser:: ...@@ -287,6 +288,7 @@ To run JavaScript tests in your default browser::
paver test_js_dev -s cms-squire paver test_js_dev -s cms-squire
paver test_js_dev -s xmodule paver test_js_dev -s xmodule
paver test_js_dev -s common paver test_js_dev -s common
paver test_js_dev -s common-requirejs
These paver commands call through to a custom test runner. For more These paver commands call through to a custom test runner. For more
info, see `js-test-tool <https://github.com/edx/js-test-tool>`__. info, see `js-test-tool <https://github.com/edx/js-test-tool>`__.
...@@ -534,7 +536,7 @@ More specific options are below. ...@@ -534,7 +536,7 @@ More specific options are below.
``system`` is an optional argument here. It defaults to ``system`` is an optional argument here. It defaults to
``cms,lms,common``. ``cms,lms,common``.
JavaScript Code Style Quality JavaScript Code Style Quality
------------------ ------------------
...@@ -542,7 +544,7 @@ JavaScript Code Style Quality ...@@ -542,7 +544,7 @@ JavaScript Code Style Quality
To view JavaScript code style quality:: To view JavaScript code style quality::
paver run_jshint paver run_jshint
- This command also comes with a ``--limit`` switch, for example:: - This command also comes with a ``--limit`` switch, for example::
paver run_jshint --limit=700 paver run_jshint --limit=700
...@@ -608,4 +610,3 @@ Acceptance Test Techniques ...@@ -608,4 +610,3 @@ Acceptance Test Techniques
and "LMS" when they follow this convention: name your feature in the and "LMS" when they follow this convention: name your feature in the
.feature file CMS or LMS with a single period and then no other .feature file CMS or LMS with a single period and then no other
periods in the name. The name can contain spaces. E.g. "CMS.Sign Up" periods in the name. The name can contain spaces. E.g. "CMS.Sign Up"
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