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
6055205d
Commit
6055205d
authored
May 04, 2016
by
Brian Jacobel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12356 from edx/karma
JS tests no longer use js-test-tool
parents
6ba7133b
df32d2a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
docs/en_us/internal/testing.rst
+3
-4
No files found.
docs/en_us/internal/testing.rst
View file @
6055205d
...
...
@@ -341,16 +341,15 @@ To run JavaScript tests in a browser, run these commands.
To debug these tests on devstack in a local browser:
* first run the appropriate test_js_dev command from above which will open a browser using XQuartz
* open the same URL in your browser but change the IP address to 192.168.33.10, e.g.
http://192.168.33.10:TEST_PORT/suite/cms
* open http://192.168.33.10:9876/debug.html in your host system's browser of choice
* this will run all the tests and show you the results including details of any failures
* you can click on an individually failing test and/or suite to re-run it by itself
* you can now use the browser's developer tools to debug as you would any other JavaScript code
Note: the port is also output to the console that you ran the tests from if you find that easier.
These paver commands call through to
a custom test runner
. For more
info, see `
js-test-tool <https://github.com/edx/js-test-tool
>`__.
These paver commands call through to
Karma
. For more
info, see `
karma-runner.github.io <https://karma-runner.github.io/
>`__.
Running Bok Choy Acceptance Tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
...
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