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
08caf81d
Commit
08caf81d
authored
Jun 25, 2014
by
clytwynec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update testing.md
parent
af9ae675
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
docs/en_us/internal/testing.md
+7
-7
No files found.
docs/en_us/internal/testing.md
View file @
08caf81d
...
...
@@ -291,23 +291,23 @@ To run all the acceptance tests:
To run only for lms or cms:
rake test:acceptance:
lms
rake test:acceptance:
cms
paver test_acceptance -s
lms
paver test_acceptance -s
cms
To test only a specific feature:
rake test:acceptance:lms["lms/djangoapps/courseware/features/problems.feature"]
paver test_acceptance -s lms --extra_args="lms/djangoapps/courseware/features/problems.feature"
To test only a specific scenario
rake test:acceptance:lms["lms/djangoapps/courseware/features/problems.feature -s 3"]
paver test_acceptance -s lms --extra_args="lms/djangoapps/courseware/features/problems.feature -s 3"
To start the debugger on failure, add the
`--pdb`
option:
To start the debugger on failure, add the
`--pdb`
option
to extra_args
:
rake test:acceptance:lms["lms/djangoapps/courseware/features/problems.feature --pdb"]
paver test_acceptance -s lms --extra_args="lms/djangoapps/courseware/features/problems.feature --pdb"
To run tests faster by not collecting static files, you can use
`
rake test:acceptance:lms:fast`
and
`rake test:acceptance:cms:fa
st`
.
`
paver test_acceptance -s lms --fasttest`
and
`paver test_acceptance -s cms --fastte
st`
.
Acceptance tests will run on a randomized port and can be run in the background of rake cms and lms or unit tests.
To specify the port, change the LETTUCE_SERVER_PORT constant in cms/envs/acceptance.py and lms/envs/acceptance.py
...
...
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