Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
c689cc40
Commit
c689cc40
authored
Jul 07, 2015
by
Daniel Friedman
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8766 from edx/dan-f/update-test-docs-common-requirejs
Update docs for testing common requirejs tests
parents
1c161ffc
d87a0f14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
docs/en_us/internal/testing.rst
+5
-4
No files found.
docs/en_us/internal/testing.rst
View file @
c689cc40
...
@@ -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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment